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
- Sprite texture is null when read from a SpriteAtlas in an Addressables bundle
- Scrolling in the Tile Palette Brush Pick overlay breaks when a lot of Brushes are saved and the List View is enabled
- OnPreprocessAsset is not triggered when AssetPostprocessor version is changed and script recompiles
- Terrain Component and Overlay Text Rendering is broken when using Bitmap Text Rendering Mode
- “No Overlays” Overlay overlaps with the Tile Palette toolbar when docked on the left
Add comment