Search Unity

Unity 3.5 crashes when trying to open up an editor GUI window

Discussion in 'Developer Preview Archive' started by FPSyndicate, Jan 12, 2012.

  1. FPSyndicate

    FPSyndicate

    Joined:
    Mar 31, 2011
    Posts:
    39
    When i open up the editor GUI window for the Color Picker, or the save screen or something, the entire unity program freezes. i get these two errors:

    Code (csharp):
    1. GUI Window tries to begin rendering while something else has not finished rendering! Either you have a recursive OnGUI rendering, or previous OnGUI did not clean up properly.
    Code (csharp):
    1. ArgumentException: You can only call GUI functions from inside OnGUI.
    2.   at UnityEngine.GUIUtility.CheckOnGUI () [0x00000] in <filename unknown>:0
    3.  
    4.   at UnityEngine.GUILayout.FlexibleSpace () [0x00000] in <filename unknown>:0
    5.  
    6.   at UnityEditor.ColorPicker.OnGUI () [0x00000] in <filename unknown>:0
    7.  
    8.   at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception)
    9.  
    10.   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    11. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    12.   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    13.  
    14.   at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
    15.  
    16.   at UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) [0x00000] in <filename unknown>:0
    17.  
    18.   at UnityEditor.HostView.Invoke (System.String methodName) [0x00000] in <filename unknown>:0
    19.  
    20.   at UnityEditor.HostView.OnGUI () [0x00000] in <filename unknown>:0
    21. UnityEditor.ContainerWindow:INTERNAL_set_position(Rect)
    22. UnityEditor.ContainerWindow:set_position(Rect)
    23. UnityEditor.ContainerWindow:Show(ShowMode, Boolean, Boolean)
    24. UnityEditor.EditorWindow:ShowWithMode(ShowMode)
    25. UnityEditor.EditorWindow:ShowAuxWindow()
    26. UnityEditor.ColorPicker:Show(GUIView, Color, Boolean)
    27. UnityEditor.EditorGUI:DoColorField(Rect, Int32, Color, Boolean, Boolean)
    28. UnityEditor.EditorGUI:ColorField(Rect, GUIContent, Color)
    29. UnityEditor.EditorGUI:SinglePropertyField(Rect, SerializedProperty, GUIContent)
    30. UnityEditor.EditorGUI:PropertyField(Rect, SerializedProperty, GUIContent, Boolean)
    31. UnityEditor.EditorGUILayout:PropertyField(SerializedProperty, GUIContent, Boolean, GUILayoutOption[])
    32. UnityEditor.EditorGUILayout:PropertyField(SerializedProperty, GUIContent, GUILayoutOption[])
    33. UnityEditor.CameraEditor:OnInspectorGUI()
    34. UnityEditor.InspectorWindow:DrawEditors(Boolean, Editor[], Boolean)
    35. UnityEditor.InspectorWindow:OnGUI()
    36. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception)
    37. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    38. System.Reflection.MethodBase:Invoke(Object, Object[])
    39. UnityEditor.HostView:Invoke(String, Object)
    40. UnityEditor.HostView:Invoke(String)
    41. UnityEditor.DockArea:OnGUI()
    42.  
    43. (Filename:  Line: -1)
    This just started happening after i installed the 3.5 developer preview on my computer. It works on my other computer but not on my main computer.

    This is not doe to my project because when i open up either a new project or the AngroBots demo it still has the same errors


    HP, Windows 7, nVidia GTX 460 graphics card

    thx for any help :)