Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3
2021.2
2022.1
2022.1.0a12
Issue ID
1374730
Regression
No
ReorderableList item is being returned with wrong "isExpanded" property when doing Undo after deleting it
How to reproduce:
1. Open the "ReorderableList" project
2. Open "ReorderableListBug" Scene (Assets > ReorderableListBug > ReorderableListBug)
3. In the Hierarchy window select "Bug" GameObject
4. In the Inspector window Expand "Element 2"
5. Select "Element 0" and press "-" sign
6. Observe the List
7. Press Edit > Undo remove Element From Array
8. Repeat 6th step
Expected result: After the 5th step just the "Element 1" is expanded, after the 7th step just the "Element 2" is expanded
Actual result: After the 5th and 7th steps "Elements 1" and "Element 2" are expanded
Reproducible with: 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
Could not test with: 2019.4.34f1 (Errors after downgrade)
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
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
- "ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
Resolution Note (2022.2.X):
Correct restoration of element expand state is a design limitation of the ReorderableList control