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
- Some Build Profile settings do not remain checked when launching a project without the /Library folder through the command line
- TextMeshPro gradient tags render as literal text when using a font that contains only a part of the ASCII character set
- Small rectangles appearing in the corner of title text in Editor when System Font and Bitmap are selected in preferences
- The shortcut character is typed into the name field when a [Shift + <any alphanumeric key>] shortcut is used to create the asset from "Asset/Create"
- TextMeshPro ligatures broken when Font Style setting is changed from “Lowercase” to “Uppercase”
Add comment