Search Issue Tracker
Duplicate
Votes
0
Found in
2022.3.16f1
2023.2.4f1
2023.3.0b1
6000.0.0b11
Issue ID
UUM-59576
Regression
Yes
NullReferenceException is thrown when pressing the + button
Reproduction steps:
1. Open the attached “Repro“ project
2. Select the “Assets/ScriptableObjects/RedButtonSettings.asset“ Scriptable Object
3. In the Inspector window click the + button
4. Obersve the Console window
Expected result: No error is thrown
Actual result: “NullReferenceException: SerializedObject of SerializedProperty has been Disposed” is thrown
Reproducible with: 2022.3.11f1, 2022.3.16f1, 2023.2.4f1, 2023.3.0b1
Not reproducible with: 2021.3.33f1, 2022.3.10f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Error:
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.get_arraySize () (at <9920ff0c944845d7b9f9a61ef1478edc>:0)
binrev.ui.UIStateVisualizerSOEditor.OnInspectorGUI () (at Assets/Editor/UIStateVisualizerSOEditor.cs:140)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass72_0.<CreateInspectorElementUsingIMGUI>b__0 () (at <9920ff0c944845d7b9f9a61ef1478edc>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
-
Resolution Note:
This bug is being addressed in another issue. We'll close this report as duplicate. Thank you.
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-61557
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
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
- Crash on MarkAllDependencies when opening scenes with Assets from the YarnSpinner package
This is a duplicate of issue #UUM-61557