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
- [Android] [iOS] [UnityWebRequest] Requests with "UnityWebRequest" are open for SSL Proxying
- SetWindowsHookEx does not prevent Windows key input when Editor or Player Window is focused and Active Input Handling is set to “Input System Package (New)” or “Both”
- Crash on GetEffectiveBc7TextureCompressor() when loading and unloading all Assets in the Project
- Terrain Masks do not ignore the mipmap limit
- "Build And Run" the project for Web is allowed even though the directory for the non-default browser is not selected
This is a duplicate of issue #UUM-61557