Search Issue Tracker
Fixed
Fixed in 2021.3.32f1, 2022.3.13f1, 2023.1.19f1, 2023.2.0b16, 2023.3.0a12
Votes
17
Found in
2021.3.7f1
2022.3.11f1
2023.1.16f1
2023.2.0b6
2023.3.0a3
Issue ID
UUM-46364
Regression
Yes
NullReferenceException is flooded when exiting Play Mode while Inspector is displaying a list whose contents are generated at runtime
Reproduction steps:
1. Open the “ListExceptionStripped“ project
2. Open the “Sample” scene
3. Enter Play Mode
4. Select the “Controller“ GameObject
5. In Inspector expand “List 1” and/or “List 2”
6. Exit Play Mode and observe Console
7. If no errors, enter and exit Play Mode once more
Expected result: No errors
Actual result: “NullReferenceException: SerializedObject of SerializedProperty has been Disposed” is flooded
Reproduced in: 2022.3.6f1, 2022.3.7f1, 2023.2.0a23, 2023.2.0b6
Not reproduced in: 2021.3.29f1, 2022.3.5f1, 2023.1.9f1, 2023.2.0a22
Reproduced on: macOS 13.4.1 (Intel), Windows 10
Not reproduced on: No other environment tested
Notes:
1. Not reproduced when the GameObject is not selected or the lists are collapsed
2. The error stops flooding after the lists are stopped being displayed in Inspector
3. The error is flooded when 2 lists are displayed and at least one is expanded
4. The error is thrown only once when only 1 list is displayed and is expanded
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
kevindaluz
May 14, 2024 22:45
Unity, please fix t. Happening for me in 2022.3.15f1
SteamQuarterStudios
May 11, 2024 07:11
This is STILL not fixed in 2022.3.28f...
Akaimari
Apr 29, 2024 17:02
Not fixed, Still happening in 2022.3.11f1
cihadturhan_unity
Jan 16, 2024 18:34
THIS ISSUE HAS NOT BEEN FIXED.
2022.3.16f1 MacOS (Intel)
Epsilon_Delta
Dec 16, 2023 17:33
Still happening in 2022.3.15f1
RobertWebb
Dec 08, 2023 05:10
I still get this issue in 2022.3.14, so not fixed.
RedTShirtGaming
Nov 29, 2023 15:05
Still occurring in 2022.3.10f1
Wilhelm_LAS
Nov 22, 2023 21:31
I face this issue when updating an array in inspector while its showing in inspector. V2022.3.7f1
illumin8ed1
Nov 20, 2023 08:10
I am seeing this in 2023.3.0a13
Kristina_B
Oct 14, 2023 00:42
Sorry, the last part of my comment " but deleting the object stopped the issue" is not true.
Also, the issue occurs when entering a Play mode while having a GameObject with a script attached selected in the Inspector.