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
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
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.