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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #UUM-61557