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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment