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

  1. Resolution Note (fix version 2023.2.14f1):

    Issue fixed in 2023.2.14f1 and later

  2. Resolution Note (fix version 2022.3.22f1):

    Issue fixed in 2022.3.22f1 and later

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.