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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
This is a duplicate of issue #UUM-61557