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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Add comment