Getting this weird error
ArgumentException: Getting control 1's position in a group with only 1 controls when doing Repaint Aborting UnityEngine.GUILayoutGroup.GetNext () UnityEngine.GUILayoutUtility.BeginLayoutArea (UnityEngine.GUIStyle style, System.Type LayoutType) UnityEngine.GUILayout.BeginArea (Rect screenRect, UnityEngine.GUIContent content, UnityEngine.GUIStyle style) UnityEngine.GUILayout.BeginArea (Rect screenRect) Dicemanager.displayStandardScreen () (at Assets/Dice Resources/Dicemanager.js:303) Dicemanager.OnGUI () (at Assets/Dice Resources/Dicemanager.js:455)
I saw a similar posts that says something about two passes but I frankly dont understand it. The problem if I set a value that influences whether a pop up (GUI screen) will be displayed some time later. But the fault doesnt occur when conditions are right for the pop up but immediately after the variable is set.
Condition is really hard to explain but I was wondering if someone could maybe throw some light to the error message.