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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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!