Search Issue Tracker

Active

Votes

0

Found in

2022.3.59f1

6000.0.40f1

6000.1.0b8

6000.2.0a5

Issue ID

UUM-98307

Regression

No

EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()

-

Reproduction steps:
1. Open the attached “IN-95640.zip” project
2. Open the “SampleScene”
3. From the Hierarchy, select the “Test” GameObject
4. Observe the “Test Component Bug (Script)” Component in the Inspector

Expected result: The foldout icon is inside the “Box” container and is correctly indented
Actual result: The foldout icon is indented not correctly and is outside of the “Box” container

Reproducible with: 2022.3.59f1, 6000.0.40f1, 6000.1.0b8, 6000.2.0a5

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Note:
- The expected result can be seen in the “Test Component Working (Script)” Component, which uses “CreateInspectorGUI()”

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.