Search Issue Tracker
Won't Fix
Under Consideration for 2021.3.X
Votes
0
Found in
2021.3.17f1
Issue ID
UUM-27298
Regression
Yes
[21.3 only] Error "NullReferenceException UnityEditor.SceneView.OnGU" is thrown when deleting the child prefab in the Scene view
How to reproduce:
1. Open the project “IN_29357”
2. Open the “Goblin_01” prefab
3. Select any child prefab in the Scene view
4. Delete it
Expected result: no error in the Console
Actual result: “NullReferenceException” error in the Console
Reproducible with: 2021.2.0b15, 2021.3.17f1, 2022.1.0a14
Not reproducible with: 2021.2.0b14, 2022.2.5f1, 2023.1.0b1
Couldn’t test with: 2020.3.44f1 (due to compiler errors and missing scripts in prefab)
Fixed in: 2022.1.0a15
Reproducible on: Windows 10 Pro
Note: not reproducible if deleting child prefab through Hierarchy
Workaround: delete prefabs through Hierarchy instead of Scene view
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
- [URP] Invalid update of shader stripping settings
- [HDRP] Errors on Shader stripper that do not stripp shaders.
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
Resolution Note:
Issue does not reproduce, tested on 2021.3.34f1. Seems that a fix in 2022 was backported that addresses this already.