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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a3