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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a3