Unity Issue Tracker - "ObjectDisposedException" is thrown when removing an element from SerializeReference list
Fixed
UUM-21712
"ObjectDisposedException" is thrown when removing an element from SerializeReference list
Unity: UI Toolkit Framework
Fixed
2023.2.X
2022.3.X
Won't Fix
2023.1.X
2022.2.X
2022.1.X
2022.1.0a10 onwards
Issue fixed in 2023.2.14f1 and later
Issue fixed in 2022.3.22f1 and later
2022.1 has reached end of life so the issue will be fixed in a newer version.
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
Prioritise and Follow this issue
Have a workaround or additional info about this issue?