Search Issue Tracker

Duplicate

Votes

0

Found in

2020.2.0a13

2020.3

2020.3.0f1

Issue ID

1403780

Regression

Yes

ReorderableList maintains incorrect height in the Inspector when cache invalidation is not detected

IMGUI

-

How to reproduce:
1. Open the attached project (ReorderableListTest.zip)
2. In the Project window, under Assets, select ReorderableListTest 1
3. In the Inspector window, expand Element 0, then expand "Nest Me" under Sub Criteria
4. Select the Helper Functions (tool icon) under Nest Me
5. Select "Nest in new Composite"
6. Observe the Inspector UI

Expected result: top parent element expands to the new height of all of its children, no overlapping UI elements
Actual result: top parent element maintains its old height, causing children to overlap elements as they extend beyond the parent's layout

Reproducible with: 2020.2.0a13, 2020.3.30f1
Not reproducible with: 2019.4.37f1, 2020.2.0a12, 2020.3.31f1, 2021.2.16f1, 2022.1.0b13, 2022.2.0a8

Notes:
1. In 2020.3.31f1 and 2021.2.16f1, UnityEditor errors are thrown, but the Inspector UI is drawn correctly
2. In 2022.1.0b13 and 2022.2.0a8, no errors are thrown and the UI is drawn correctly

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.