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

IMGUI

-

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

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.