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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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!