Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2019.4
2020.3
2021.2
2022.1
2022.1.0b2
Issue ID
1388694
Regression
No
Null reference exception when using Inspector with modes: Debug and Use UI Toolkit Default Inspector
Reproduction steps:
1. Download and open the attached "TestProject.zip" project
2. Open the "bug.unity" scene
3. In the Hierarchy window, select the Directional Light game object
4. in the Inspector window switch to Debug mode
Expected result: No errors appear in the console window
Actual result: "ArgumentNullException: Value cannot be null." error appears in the console window
Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Add comment