Search Issue Tracker
Fixed
Fixed in 6000.0.13f1, 7000.0.0a2
Votes
1
Found in
6000.0.7f1
Issue ID
UUM-74491
Regression
Yes
System.NullReferenceException is thrown when selecting a GameObject with custom Inspector
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Select “BrokenInspector” GameObject in the Hierarchy window
4. Observe the Console window
Expected result: No errors are thrown
Actual result: “System.NullReferenceException: Object reference not set to an instance of an object” error is thrown
Reproducible with: 2023.3.0a2, 6000.0.7f1
Not reproducible with: 2021.3.39f1, 2022.3.33f1, 2023.2.0a23
Reproducible on: Windows 11
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Usymtool tries to upload GameAssembly.pdb when it doesn't exist after building with Mono backend
- “NullReferenceException” error thrown in the Console when running HDRP Wizard “Fix All” in URP project after installing HDRP Package
- "Debug Draw Mode" unchecked checkboxes are not visible
- [Android] App crashes when Volume Depth of Field is set to "Bokeh" while using Vulkan Graphics API
- Baked Off Mesh Links outside the modified area are deleted when using NavMeshSurface.UpdateNavMesh
Add comment