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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Issue does not reproduce, tested on 2021.3.34f1. Seems that a fix in 2022 was backported that addresses this already.