Search Issue Tracker
Active
Under Consideration for 2022.3.X
Won't Fix in 2023.2.X
Votes
0
Found in
2022.3.17f1
2023.2.5f1
2023.3.0b2
6000.0.0b11
Issue ID
UUM-60153
Regression
No
“NullReferenceException: SerializedObject of SerializedProperty has been Disposed” error appears when changing layers settings in prefab’s “Layer Overrides” of the “Box Collider” Component
How to reproduce:
1. Create a new project
2. Create an Empty GameObject and add the “Box Collider” Component
3. Make a prefab of the newly created GameObject
4. Select Prefab, and in the Inspector window, open the “Layer Overrides” tab, then change “Include Layers” to “Everything”
5. Observe the Console window
Expected result: No errors
Actual result: “NullReferenceException: SerializedObject of SerializedProperty has been Disposed” errors appear
Reproducible with: 2022.3.17f1, 2023.2.5f1, 2023.3.0b2
Could not test with: 2021.3.34f1 (“Layer Overrides” setting)
Reproduced on: macOS 13.6.3 (Intel)
Not reproducible on: No other environment tested
Notes:
- the menu with layer names becomes blank after the 4th step
- also reproducible if changing other Layers beside the “Include Layers”
- reproducible with other Colliders
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2023.2.X):
Closing as Won't fix due to 2023.2 reaching it's EOL.