Search Issue Tracker
Fixed
Fixed in 2021.3.51f1, 2022.3.61f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Votes
0
Found in
2021.3.44f1
2022.3.50f1
6000.0.23f1
6000.2.0a1
Issue ID
UUM-84114
Regression
No
EditorGUILayout.LabelField displays black text when the "EditorStyles.whiteBoldLabel" parameter is passed in
How to reproduce:
1. Create and open a new project
2. Import the “LabelFieldExample.cs“ Script
3. Open the “Example > Editor GUILayout Label Usage“ Window in the Toolbar
4. Observe the Custom Editor Window
Expected result: The text is white and bolded
Actual result: The text is black, but bolded
Reproducible in: 2021.3.44f1, 2022.3.50f1, 6000.0.23f1
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- It seems, the style is deliberately making the text white, because by default the unstyled color is gray
- the “EditorStyles.whiteLabel” parameter colors the text white
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- "DebugAllocatorMode" option changes when changed in another Editor instance
Add comment