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

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:

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.
ArgumentException: You can only call GUI functions from inside OnGUI.
  at UnityEngine.GUIUtility.CheckOnGUI () [0x00000] in <filename unknown>:0 

  at UnityEngine.GUILayout.FlexibleSpace () [0x00000] in <filename unknown>:0 

  at UnityEditor.ColorPicker.OnGUI () [0x00000] in <filename unknown>:0 

  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception)

  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 
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
  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 

  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 

  at UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) [0x00000] in <filename unknown>:0 

  at UnityEditor.HostView.Invoke (System.String methodName) [0x00000] in <filename unknown>:0 

  at UnityEditor.HostView.OnGUI () [0x00000] in <filename unknown>:0 
UnityEditor.ContainerWindow:INTERNAL_set_position(Rect)
UnityEditor.ContainerWindow:set_position(Rect)
UnityEditor.ContainerWindow:Show(ShowMode, Boolean, Boolean)
UnityEditor.EditorWindow:ShowWithMode(ShowMode)
UnityEditor.EditorWindow:ShowAuxWindow()
UnityEditor.ColorPicker:Show(GUIView, Color, Boolean)
UnityEditor.EditorGUI:smile:oColorField(Rect, Int32, Color, Boolean, Boolean)
UnityEditor.EditorGUI:ColorField(Rect, GUIContent, Color)
UnityEditor.EditorGUI:SinglePropertyField(Rect, SerializedProperty, GUIContent)
UnityEditor.EditorGUI:PropertyField(Rect, SerializedProperty, GUIContent, Boolean)
UnityEditor.EditorGUILayout:PropertyField(SerializedProperty, GUIContent, Boolean, GUILayoutOption[])
UnityEditor.EditorGUILayout:PropertyField(SerializedProperty, GUIContent, GUILayoutOption[])
UnityEditor.CameraEditor:OnInspectorGUI()
UnityEditor.InspectorWindow:smile:rawEditors(Boolean, Editor[], Boolean)
UnityEditor.InspectorWindow:OnGUI()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
UnityEditor.HostView:Invoke(String, Object)
UnityEditor.HostView:Invoke(String)
UnityEditor.DockArea:OnGUI()
 
(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 :slight_smile:

Well i guess i solved my own problem. I had a program running on my computer that gave me two taskbars for my two monitors. I just randmomly tried disabling it and that completely solved my problem! so just a note: if you have any windows GUI tools running, they can screw up your unity editor GUI.