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
- Transition property is not disabled in the UI Builder when it is set by a variable
- Crash on PersistentManager::GetSerializedType when opening a specific Scene
- GlobalObjectId.GetGlobalObjectIdSlow returns empty ID when in Prefab Isolation Mode
- Crash on Transform::RemoveFromParent when deleting a child GameObject
- APV gets disabled when the SubScene is closed but still loaded
Add comment