Search Issue Tracker
Fixed
Votes
1
Found in
2022.3.10f1
2023.2.0b12
2023.3.0a8
Issue ID
UUM-52678
Regression
Yes
"NullReferenceException: SerializedObject of SerializedProperty has been Disposed." is thrown when entering Play Mode after editing an array containing items
How to reproduce:
1. Open the attached project "BugTest1.zip"
2. Select SampleScene/Test Object in the Hierarchy window
3. Add an array element to "Test Classes" in the Inspector window
4. Enter Play Mode
Expected results: No errors are thrown
Actual results: "NullReferenceException: SerializedObject of SerializedProperty has been Disposed." is thrown in the Console window
Reproducible with: 2022.3.6f1, 2022.3.10f1, 2023.2.0b12, 2023.3.0a8
Not reproducible with: 2021.3.31f1, 2022.3.5f1, 2023.1.16f1
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
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
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-39898