News › Forums › Troubleshooting › ArgumentException
Tagged: bug
This topic contains 0 replies, has 1 voice, and was last updated by NineteenStoneNinjas 6 days, 2 hours ago.
-
AuthorPosts
-
July 2, 2022 at 10:36 am #30832
Hey guys,
Great work with RAIN so far - not dug into it in any depth yet, just getting my bearings, but I think it’s gonna make my life a lot easier
Anyway - I’m using Unity Pro 4.5.0f6 and the latest version of RAIN (2.0.11.0). I’ve installed it into my project, but I get the following error each time I click on a gameobject in my heirarchy that has a RAIN component on it:
ArgumentException: Getting control 0′s position in a group with only 0 controls when doing Repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at C:/BuildAgent/work/aeedb04a1292f85a/artifacts/EditorGenerated/GUILayoutUtility.cs:513)
UnityEngine.GUILayoutUtility.DoGetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/BuildAgent/work/aeedb04a1292f85a/artifacts/EditorGenerated/GUILayoutUtility.cs:276)
UnityEngine.GUILayoutUtility.GetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/BuildAgent/work/aeedb04a1292f85a/artifacts/EditorGenerated/GUILayoutUtility.cs:259)
UnityEngine.GUILayout.DoButton (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/BuildAgent/work/aeedb04a1292f85a/artifacts/EditorGenerated/GUILayout.cs:44)
UnityEngine.GUILayout.Button (System.String text, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/BuildAgent/work/aeedb04a1292f85a/artifacts/EditorGenerated/GUILayout.cs:41)
pb_Editor.DrawHandleGUI ()
pb_Editor.OnSceneGUI (UnityEditor.SceneView scnView)
UnityEditor.SceneView.CallOnSceneGUIAfterGizmos () (at C:/BuildAgent/work/aeedb04a1292f85a/Editor/Mono/SceneView/SceneView.cs:1711)
UnityEditor.SceneView.OnGUI () (at C:/BuildAgent/work/aeedb04a1292f85a/Editor/Mono/SceneView/SceneView.cs:1002)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)Is this something I’ve done wrong, or a problem with RAIN? Things seem to work OK, and it doesn’t make Unity unstable or anything…
-
AuthorPosts
You must be logged in to reply to this topic.