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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (2022.2.X):
Correct restoration of element expand state is a design limitation of the ReorderableList control