Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b4
Issue ID
909648
Regression
Yes
Exceptions are thrown when clicking on Aspect Ration options for Display 2-8
To reproduce:
1. Open GameView
2. Select any Display from 2 to 8
3. Click on Aspect Ration options
Actual: Following exceptions are thrown in console:
ArgumentException: You can only call GUI functions from inside OnGUI.
UnityEngine.GUIUtility.CheckOnGUI () (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs:347)
UnityEngine.GUI.set_skin (UnityEngine.GUISkin value) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUI.cs:53)
UnityEngine.GUIUtility.BeginGUI (Int32 skinMode, Int32 instanceID, Int32 useGUILayout) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs:261)
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.GUIUtility.EndGUI (Int32 layoutType) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs:288)
Expected: Exception shouldn't appear in console
Reproducible: 2017.01b4, 2017.01a4
Not reproducible: 2017.01a3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture displays visual artifacts and has a broken aspect ratio when it is imported in RGB 48-bit format
- Diagnostic Warning Resets When Navigating Away and Returning to Diagnostics Settings
- Checkbox Collides with Text in Shader Graph Preferences Settings
- Crash on mecanim::animation::TransformValuesFromClip when entering the Play Mode in a project with Animancer Pro v8
- Connection to Named Pipes fails when server and client are run
Add comment