Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.4.30f1
2019.1.0a10
2019.4
2020.2
2021.1
2021.2
Issue ID
1311589
Regression
Yes
Label has no indentation in the Inspector when using EditorGUI.PrefixLabel for displaying the label
How to reproduce:
1. Open the user's attached "PrefixLabelBug.zip"
2. Open the "SampleScene" Scene
3. Select the "JustAGameObject" GameObject in the Hierarchy window
4. Observe the "Just a Label" label in the Inspector window
Expected result: "Just a Label" label is slightly indented in the Inspector
Actual result: "Just a Label" label has no indentation in the Inspector
Reproducible with: 2019.1.0a10, 2019.4.20f1, 2020.2.3f1, 2021.1.0b5, 2021.2.0a3
Not reproducible with: 2018.4.31f1, 2019.1.0a9
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
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
Resolution Note (2021.2.X):
Provide an id using GUIUtility.GetControlID in EditorGUI.PrefixLabel when it is not prefixing any control.