Search Issue Tracker
By Design
Votes
0
Found in
3.3.0f4
Issue ID
398753
Regression
No
useGUILayout = false spams console
useGUILayout = false spams console.
If a project uses GUILayout with MonoBehaviour.useGUILayout set to false, the console is spammed with the following error:
ArgumentException: Getting control 1's position in a group with only 1 controls when doing Repaint
Aborting
Repro:
Play the scene in the attached project, and toggle GUI control.
Result:
ArgumentException: Getting control... is thrown in every OnGUI call.
Expected:
Graceful and explanatory error message.
E.g. "Control [control_id] on [object] can't be drawn because useGUILayout is disabled"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Visual artifacts when RenderGraphPass is merged into NativePass
- BatchRenderGroup mesh bounds contain uninitialized values
- NavMeshQuery.BeginFindPath returns success status when searching short paths
- [iOS] Memory leak when unloading Unity as a Library
- Non consistent "Editor Only" label position in the "Library" section
Add comment