Hi,
calling EditorUtility.OpenFilePanel causes the bottom error, I think this might be a unity error?
string path = EditorUtility.OpenFilePanel( "Open Game", "", "xml");
InvalidOperationException: Operation is not valid due to the current state of the object
System.Collections.Stack.Pop () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections/Stack.cs:329)
UnityEngine.GUILayoutUtility.EndLayoutGroup () (at /home/builduser/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:321)
UnityEngine.GUILayout.EndVertical () (at /home/builduser/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayout.cs:317)
UnityEditor.EditorGUILayout.EndVertical () (at /home/builduser/buildslave/unity/build/Editor/Mono/EditorGUI.cs:7300)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at /home/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1250)
UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors) (at /home/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1024)
UnityEditor.InspectorWindow.OnGUI () (at /home/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:359)
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)