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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a3