Search Issue Tracker
Fixed
Votes
1
Found in
2022.3.17f1
Issue ID
UUM-59598
Regression
Yes
ObjectDisposedException is thrown when elements are removed from a serialized list using the undo command
How to reproduce:
1. Open the attached “serializedlist_issue“ project
2. Open the SampleScene
3. Select the “Example” GameObject in the Hierarchy window
4. In the Inspector, expand the “Example” list and add an element by clicking the “+” sign
5. Undo the change (CTRL+Z)
6. Observe the Console window
Expected result: Element is successfully removed, no errors are thrown
Actual result: an ObjectDisposedException error is thrown in the Console
Reproducible in: 2022.2.0a17, 2022.3.17f1, 2023.2.0a17
Not reproducible in: 2021.3.34f1, 2022.2.0a16, 2023.2.4f1, 2023.3.0b1
Fixed in: 2023.2.0a18
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: The error is not always thrown, but repeating steps 4 and 5 a few times should make it appear
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:
Fixed by another internal issue: UUM-62802: [Error] Undoing added list element in prefab throws an error: SerializedProperty _sand.clips.Array.data[0] has disappeared!