Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.1.0a2
2021.1.19f1
2021.2
Issue ID
1374989
Regression
Yes
GUIContent.none not hiding label when using in EditorGUILayout.PropertyField() function
Reproduction steps:
1. Open the attached project "LayerMaskInspectorBug"
2. Open BugRepro/SampleScene
3. Click on "LayerMask" GameObject in the Hierarchy
4. In the Inspector check the "Layer Mask Data Script"
Expected result: In the first row "My Layer Mask" is followed by a dropdown and in the second row there is a single dropdown menu
Actual result: In the first row there are two labels and a dropdown, and in the second row there is a label with a dropdown menu
Reproducible with: 2021.1.0a2, 2021.1.28f1, 2021.2.0a2
Not reproducible with: 2019.4.32f1, 2020.3.22f1, 2021.1.0a1, 2021.2.0a3, 2021.2.1f1, 2022.1.0a15
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
- UnityYamlMerge.exe doesn't correctly handle merge conflicts in modified properties on a prefab variant
- Inconsistent color scheme in "Details" section of "Select Presets" inspector window
- Crash on __pthread_kill when launching Editor via command-line with "-disableManagedDebugger" argument
- [VFX] Deleting “New Group Node” name doesn’t allow to type or add new name
- [VFX] Creating a long Group Node name breaks nodes boarders
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a3