Error:
Failed to destroy editor windows: #1
FallbackEditorWindow
UnityEditor.<>c:b__28_0()
I keep getting this error. I restarted Windows & unity, reinstalled unity, reset factory settings, reset layout, nothing works.
Also when I start my game the something happens and the screen goes black or the PC completely dies. I think I ruled out the gpu because it works perfectly when running at maximum power with demanding games like the Witcher 3. (My scene that crashes it is just some simple cubes&capsules with a player controller)
I have created a new project, it doesn’t have the error. I went back to the project I was working on, apparently the error only happens there. When I open it, I get this warning:
The editor layout could not be fully loaded, this can happen when the layout contains EditorWindows not available in this project UnityEditor.WindowLayout:LoadDefaultWindowPreferences()
And when I revert the layout to factory settings I get the mentioned
Failed to destroy editor windows: #1 FallbackEditorWindow UnityEditor.<>c:b__28_0()
That project was a test project where I followed a tutorial so it’s not that important to keep it. If I encounter this error in any of my other projects, I will use these steps to solve it. Thanks for your answers, they were really helpful!
error. I don’t have any extensions/plugins and I’m using the default layout.
If I revert to the factory settings the error stays and I again get the
Failed to destroy editor windows: #1
FallbackEditorWindow
UnityEditor.<>c:b__28_0()
error. This is a really fustrating problem because I can’t find the source of it no matter what I do. I use two monitors, Unity is maximized on the main monitor and I ususally got the documentation open on the second one. Could this have to do something with my problem? I really can’t think of anything (new Win10 install, new Unity install, problem still remains)
EDIT: I put the pc in single monitor mode and nothing changed, I still get the same errors.
I get same issue, “Invalid editor window” error, try to reset layout to factory settings resulting in “Failed to destroy editor windows: #1” version 2019.4.13f1
It is sad and truly unbelievable that these productivity crushing bugs are completely ignored while Unity Technologies prances around with all sorts of flashing marketing and sales and pushing sizzle and wow features when nearly everyone I know that has abandoned and moved on from Unity (triple AAA developers included) have done so because core development grinds to a halt under bugs and broken scenes. The pro devs literally budget out thousands of hours to push through the bugs and broken pieces to get a game out while the smaller devs just get crushed waiting to do simple things like import their assets. It is sad and demoralizing to continue checking in and see there is virtually nothing to be done. Just find another tool or put up with it.
If you want to make posts like this, where Unity ignores us common folk, you should pick your battles. Unity fixed this literally yesterday in 2019.4.15.
And you’re saying that this message that was showing up in the console, which had no other impact at all, was a “productivity crushing bug”?
I see Wiz’s point of view, I’ve burnt ~2 hours total trying to debug this error on a large project over the past month. I’ve deleted, I’ve recloned from git, I’ve tried disabling stuff along the lines of the Unity suggestions above.
And then today I created a fresh project from Unity Hub just using New → 3D Project and got the same error!
I’m sorry but Unity shouldn’t be releasing software which is this untested, it wastes peoples time.
There should be a test plan before release where someone at Unity hits Create New Project → 3D and see if it works. How that gets past QA is utterly beyond me, it’s the most base level thing to create a new empty 3D project and see the error.
I’m facing the very same issue but it’s actually part of another issue.
When I load any project (not a new one) I get this message every time:
The editor layout could not be fully loaded, this can happen when the layout contains EditorWindows not available in this project UnityEditor.WindowLayout:LoadDefaultWindowPreferences()
Now, that error relates to something went wrong within the Editor layout, so almost everyone says deleting the file located at: \Library\CurrentLayout-default.dwlt or hitting Layout/Revert to factory settings in the Unity editor will solve the issue.
However it doesn’t worked for me, as soon I revert to factory settings the layout, i get the error:
Failed to destroy editor windows: #1 FallbackEditorWindow UnityEditor.<>c:b__28_0()
So it’s an endless loop every time I open a project.
Also, this bug has brought another big problems to my projects, I have a team of 5 ppl working on collaborate and since I noticed this issue, our project doesn’t work as it should as there are several things that are missing (some references)
At first we had to re-import all the project in order to get back those missing references, luckily enough we pinpoint the folders that were causing the issues (We’re using Photon and a Custom resources folder) but I can vouch that this issue made us lose several hours of work for almost 2 weeks.
We have Unity Plus at our company and also paying seats for collaborate and things like this really makes us want to drop the license.
Have you updated to 2019.4.15? I was getting the error in 2019.4.14, but upgrading to 2019.4.15 (along with deleted Library, as recommended) has 100% resolved this for me.
We are at the middle of a project and as I stated, me and my team are using collab. Can’t force my entire team to update every single time Unity launches a version with some bug.
Considering each new release takes 20-30 mins to fully install with all the components we need… is not viable.
Been using Unity since version 4 but this model of releasing a new LTS version every 3 weeks make me want to throw the computer out of the window with Unity along!
Well, I don’t think there’s really any option other than either downgrading to 2019.4.11 (before the bug was introduced) or upgrading to 2019.4.15 (where the bug was fixed). If you can’t/won’t upgrade, the I don’t think you have much choice other than just to ignore the error.
Your statement about this having caused other problems with your project seems suspect to me. I don’t know the full details of what went on in this bug, but for me it wasn’t accompanied by any concrete problems, just an annoying console log entry. I’d recommend approaching the other issues independently. Just because two problems started at the same time doesn’t mean they’re related.
Did you fully delete your Library folder after upgrading to 2019.4.16? The bug resolution suggested you’d probably need to do that if simply upgrading doesn’t resolve the issue.