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
- Shader Compilation for projects with lots of Shaders can be slow (i.e. VFX Graph asset heavy projects)
- The Editor hangs when opening a project that uses local packages and Version Control
- Area Light is culled when Camera Frustrum is outside the lights range
- The characters of the bottom option in the Scene View Debug Draw Mode dropdown menu are cut off
- Graph and Camera options for Render Graph Viewer disappear after maximising the window
Add comment