Search Issue Tracker

Duplicate

Votes

0

Found in

2022.3.12f1

Issue ID

UUM-54880

Regression

Yes

“NullReferenceException” error appears, and the array disappears in the Inspector window when pressing the “+” or “-” button in the array

-

How to reproduce:
1. Open the user’s attached “My project.zip” project
2. In the Project window, select “blah Variant.prefab”
3. In the Inspector window in the “War” Component, press the “+” or “-“ button
4. Left-click in the Inspector window
5. Observe the result

Expected result: Array doesn’t disappear and no errors in the Console window
Actual result: Array disappears and the “NullReferenceException: SerializedObject of SerializedProperty has been Disposed“ error appears in the Console window

Reproducible with: 2022.3.9f1, 2022.3.12f1
Not reproducible with: 2021.3.32f1, 2022.2.0a17, 2022.3.8f1, 2023.1.0a1, 2023.1.19f1, 2023.2.0b16, 2023.3.0a11

Reproduced on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested

Notes:
- array becomes visible after deselecting and selecting GameObject
- the issue might be reproducible with newer streams than 2022.3, but because of the UUM-52678 bug, the Inspector freezes

  1. Resolution Note:

    This bug has been fixed in 2022.3.13f1. See case UUM-46364.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-46364

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.