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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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!