Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

1

Found in

2022.3.26f1

6000.0.0f1

Issue ID

UUM-70643

Regression

Yes

Serialized field is indented too much in the Inspector when CustomEditor is used

--

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene” Scene
3. In the Hierarchy window, select “TEST OBJECT”
4. In the Inspector window, expand the submenus of “Test Indent Level” in both of the script components
5. Observe the indentation of “Test Field” variable in both of the script components

Expected result: The indentation is the same in both scripts
Actual result: “Script With Custom Editor” script’s “Test Field” is more indented to the right

Reproducible with: 2022.3.20f1, 2022.3.26f1, 2023.2.20f1, 6000.0.0f1
Not reproducible with: 2021.3.37f1, 2022.3.19f1

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

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.