- Home /
failed to destory editor windows1
I get this error message whenever i open unity though everything is alright. It reads "failed to destory editor windows1". What should i do?
Answer by Noise crime · Aug 06, 2010 at 01:42 AM
I think I had something similar recently whilst messing with some editor scripts. Pretty sure I had the same or similar message, but it disappeared after re-opening Unity.
However later I noticed a persistent tiny 16x16 pixel window in the top left of the desktop. It couldn't be selected, closed or anything. I tried looking for some Unity cfg/preferences for editor windows to remove it, but didn't find anything.
In the end I tried re-setting the editor layout (top right of editor) to default and that got rid of it. Might be worth a try.
Of course you should also check that you don't have any bugged editor scripts or 'failed to load' editor tabs around, i.e. anything else that may be related to the error.
Failing that one place I didn't look (on Windows) was the registry to see if Unity stores its editor windows in there. Assuming you are using Windows, it might be worth a rummage, before the final solution of re-installing Unity.
Answer by NetFox · Aug 05, 2010 at 10:42 PM
You could try to make a new projects folder and see if that fixes the problem. If that does not work then try running the program as an administrator and if that does not work and it does not make it crash or anything just ignore it i guess.
I had the same problem running as ad$$anonymous$$istrator fixed
Answer by Moath-Qwaqneh · Jul 21, 2014 at 10:21 PM
I face the same problem when im using ngui in my unity project ,this problem appear after i add ngui atlas maker window in my unity layout, since this problem appear i cant show my ngui atlas maker window ......
but after i go to layout button -> Revert Factory Settings -> Continue. the problem solved. and now i can open ngui atlas maker windo
Just had similar issue with NGUI and this fixed it.
Cheers =)
Answer by Roman_Keivan · Dec 19, 2019 at 04:35 PM
@veryhungryhobo Hey everyone. So I solved the problem with this error.
"MissingReferenceException: The object of type 'DockArea' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object.
Failed to destroy editor windows: # 1
In the image below you will see:
An empty scene where nothing is selected (number 2), as you can see the object (number 4) is not selected, the viewing window by the standard is not active (number three), it cannot be called up. Even in the windows> Preview menu. or hotkeys shift + ctrl + Tab
Here's the thing: I'll show you how to solve it, Unity editor
as you see, when you select an object from the project menu window, the object appeared in the viewport (number 3). The editor seems to tell us, "- I will only open the viewport when you select an object"
to cause us an error, we need to make the window permanent (thereby disrupting the script). Choose an object (number 1) and pull out the viewport (number 2) to set it where we need to demonstrate the error. Now, as you can see, we set the window back in place (number 3), but now this window will always be active (the object in the project is not selected and the window is active) which will cause an error (because it cannot show what is not)
Your answer
Follow this Question
Related Questions
Apply Render Texture To GUI + Transparency? 2 Answers
How do I make a GUI display inside a Plane GameObject? 1 Answer
GUILayout Window not working inside switch case for conditional menu 1 Answer
Wierd mouse-over behaviour using GUI.Matrix with GUI.Window 0 Answers
GUI.Window IDs, will each individual unit need its own ID? 1 Answer