Search Issue Tracker
Fixed
Fixed in 6000.0.47f1, 6000.1.0b15, 6000.2.0a9
Votes
1
Found in
2022.3.58f1
6000.0.44f1
6000.1.0b6
6000.2.0a3
Issue ID
UUM-98451
Regression
No
selectionColor and cursorColor methods do not change color when using TextField.textSelection
How to reproduce:
1. Open the attached “IN-92703” project
2. Open the “SampleScene” Scene
3. Enter Play mode
4. Click on the Game view and type “aaaa”
5. Press the left arrow key twice
6. Observe the text at the bottom of the Game view
7. Select that same text with the mouse
8. Observe the text at the bottom of the Game view
Expected result: Observing text the first time the caret color should be white and observing it the second time the selected portion of the text highlight color should also be white
Actual result: Observing text the first time the caret color is black and observing it the second time the selected portion of the text highlight color is blue
Reproducible with: 2022.3.58f1, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
Resolution Note (fix version 6000.2.0a9):
Mark color selection API as obsolete
Resolution Note (fix version 6000.1.0b15):
The Color selection C# API is now obsolete. Please use the corresponding USS properties instead.
Resolution Note (fix version 6000.0.47f1):
The Color selection C# API is now obsolete. Please use the corresponding USS properties instead.