Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.2.0b3
2023.1.0a4
Issue ID
UUM-10409
Regression
No
NullReferenceException is often thrown when changing Prefab's Collider Layers fields' values in the Inspector
How to reproduce:
1. Open the user’s attached “editor-window-tests-master” project
2. Select the “Assets → TestObjects → Animation → TestAnimationObject” Prefab in the Project Browser
3. Select Layer type value in the fields under “Collider Layer Overrides” in the Inspector 10-15 times
Expected result: No error is thrown
Actual result: In 1 out of 5 cases, after selecting a Layer type, a field dropdown will become empty with “NullReferenceException: SerializedObject of SerializedProperty has been Disposed.” thrown in the Console log
Reproducible with: 2022.2.0b3, 2023.1.0a4
Couldn’t test with: 2020.3.37f1, 2021.3.7f1, 2022.1.12f1 (“Layer Overrides” section isn’t featured)
Reproduced on: macOS 12.3 (Intel)
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
Non-reproducible