Search Issue Tracker
Fixed
Unknown (hidden) 2021.2.X, 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X
Votes
0
Found in
2021.2.0a19
2021.3.0f1
2022.1.0b16
2022.2.0a10
2023.1.0a1
Issue ID
UUM-3233
Regression
Yes
Custom Inspector PropertyField Foldouts do not stay collapsed when redrawing
How to reproduce:
1. Open the attached project (CustomInspectorTest.zip)
2. Open scene Scenes/SampleScene
3. In the Hierarchy, select the GameObject "MainCamera"
4. In the Inspector window, under the Property Drawer Example (Script) component, expand Collection -> Entries
5. Add an element to Entries by pressing the + sign
6. Collapse the Names and Counts foldouts by pressing the arrows next to them
7. Select the GameObject "Directional Light" in the Hierarchy, then "MainCamera" again
8. Observe the Names and Counts elements
Expected result: the lists remain collapsed
Actual result: the lists are expanded
Reproducible with: 2021.2.0a19, 2021.3.0f1, 2022.1.0b16, 2022.2.0a10
Not reproducible with: 2019.4.37f1, 2020.3.33f1, 2021.2.0a18
Notes: the lists also expand when adding or removing elements from the parent list
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note:
Fixed by another internal issue: UUM-1461: [UI Tools] Lists in the Inspector window are re-expanded when de-selecting and re-selecting a GameObject