|
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?
(comments are locked)
|
|
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. O, Man! You make me happy! Thanks a lot!
Sep 17 '10 at 05:49 AM
neodrop
Thanks! This solved the problem for me; Even though it isn't pretty.
Oct 19 '10 at 02:11 PM
YetAnotherUnityQuack
Thanks a lot! For me this error happens on OS X only, but your solution/workaround solved it.
Jan 07 '12 at 08:21 AM
Jake L.
(comments are locked)
|
