Search Issue Tracker
Fixed
Fixed in 2022.3.22f1, 2023.2.14f1
Votes
9
Found in
2022.1.23f1
2022.2.0b13
2023.1.0a19
Issue ID
UUM-21712
Regression
Yes
"ObjectDisposedException" is thrown when removing an element from SerializeReference list
How to reproduce:
1. Open the user's attached project
2. Select "SerializeReferenceList" GameObject
3. In the Inspector add an element to "Serialize Reference List" and remove it by pressing "-"
4. Observe the Console
Expected result: no error
Actual result: error “ObjectDisposedException: SerializedProperty items.Array.data[1] has disappeared!”
Reproducible with: 2022.1.0a10, 2022.1.23f1, 2022.2.0b13, 2023.1.0a19
Not reproducible with: 2021.3.14f1, 2022.1.0a9
Couldn't test with: 2020.3.42f1 (no option to remove elements from the list)
Reproducible on: Windows 10 Pro
Workaround: add two elements to the list and then remove them
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 (fix version 2023.2.14f1):
Issue fixed in 2023.2.14f1 and later
Resolution Note (fix version 2022.3.22f1):
Issue fixed in 2022.3.22f1 and later