Search Issue Tracker

Duplicate

Under Consideration for 2022.3.X

Votes

0

Found in

2022.3.13f1

2023.1.20f1

Issue ID

UUM-55779

Regression

Yes

ObjectDisposedException is thrown when objects are removed from a serialized list by a script while the list is viewed in the Inspector window

--

-

How to reproduce:
1. Open the “list_issue“ project
2. Open the “ListInspectorBug“ Scene
3. Select the “ListInspectorBug“ GameObject
4. Undock the “Active Test Object “ list in the Inspector window
5. Enter Play Mode
6. Observe the Console

Expected result: No errors are seen
Actual result: “ObjectDisposedException“ is seen

Reproducible with: 2022.2.0a17, 2022.3.13f1, 2023.1.20f1, 2023.2.0a17
Not reproducible with: 2021.3.32f1, 2022.2.0a16, 2023.2.0b18, 2023.3.0a14
Fixed in: 2023.2.0a18

Reproducible on: Windows 10
Not reproducible on: No other environment tested

Errors:

* ObjectDisposedException: SerializedProperty activeTestObject.Array.data[9] has disappeared!
UnityEditor.SerializedProperty.get_objectReferenceInstanceIDValue () (at <7aeb7d7a52d04045b8a1c734633fa931>:0)
* type is not a supported pptr value
UnityEditor.RetainedMode:UpdateSchedulers ()

  1. Resolution Note:

    Same issue as in UUM-53334. Fixed in 2023.2.5f1.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-53334

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.