When I try to open EditorWindow from CustomInspector, I have such errors :
Something wrong with GUILayout. The window opens, but I allways see this error. How can do it without abuse in the console?
asked Sep 15 '10 at 07:24 AM
Not sure what is happening here, but one thing you can try is to call the undocumented function GUIUtility.ExitGUI(), right after opening the window. Possibly, the opening of the window upsets the state of the GUI layout system, so you'd just exit the GUI from there, and have it all fixed in the next layout event.
answered Sep 15 '10 at 12:04 PM
jonas echterhoff ♦♦