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
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
Resolution Note:
Issue does not reproduce, tested on 2021.3.34f1. Seems that a fix in 2022 was backported that addresses this already.