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
- IndexOutOfRangeException occurs when entering "<a></a>" tags in a TextMeshPro UI field
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
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.