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
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment