Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b8
Issue ID
916844
Regression
Yes
[Regression] Exceptions when click on certain areas on GameView "header"
Regression - can't repro in 5.6 (5.6.1f1 and 5.6.1p2)
reproduces on 2017.1.0 (checked on 2017.1.0a4 and 2017.1.0b8) and on 2017.2.0a1
How we can reproduce it using the example you attached
1 Create new project
2 In GameView "header" set Display 2 (or any other except of Display 1)
3 Left mouse button Click a bit higher than bottom border of Display 2 dropdown (see image in comments)
Actual results:
2 exceptions appears in the Console:
"ArgumentException: You can only call GUI functions from inside OnGUI.
UnityEngine.GUIUtility.CheckOnGUI () "
"NullReferenceException: Object reference not set to an instance of an object
UnityEngine.GUIUtility.EndGUI (Int32 layoutType)"
Expected results:
There should not be any exceptions or errors
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