Editor Layout: Could Not Be Loaded ... EditorWindows Not Available

I just started a new project in 2019.4.9f1 and this is error happening and not allowing me to use the editor, there’s just black squares where panels used to be.

This is a completely new project, but I tried clearing the GI cache anyways, nothing…

The editor just decided to stop working. I have done nothing to cause any changes. Unity just became corrupt…

I deleted the library folder from the new projects and tried re-opening them, it re-builds the library folder but the error returns and panels are still black, so there’s no way to recover and I am totally screwed.

Now I can’t start any new projects with this editor, why is Unity 2019 so unreliable? I mean this is just another bug to add to the pile. However this bug has halted development entirely:

I can’t even open the console to check if other errors are being thrown,

Rebooted PC, start new project and exact same error, so I can’t use the editor at all. What do I do? I can’t recover from this.

I had to create a completely new user account in Windows just to make unity work again.

1 Like

This is a long shot… but any chance you had a non-standard setting for the Scale and Layout section (change the size of text, apps, and other items) in the Windows Display Settings?

Change layout to Default. After that you may rechange to your own layout. I have solved same problem with this way.

I still had access to my Project Explorer, so I EXPORTED the Project as a package, and imported it into a new Project. Viola! I deleted the 3rd PARTY add on’s when I exported the package. So, there was a 3rd party add on that is SUS!

//ark

I had a similar problem, I managed to fix it by deleting the UIElements folder from my project Library and the opening the project again. This forces Unity to reload editor layout, hopefully excluding the broken editor window

1 Like

Thank you. That solved my problem :slight_smile:

How did you know this would fix the issue?

Sweet Dios Mios! … that worked!! thanks cnjoroge925!

What does this mean? I’m sorry, I understand each word separately, but

I also struggled with this for a moment. Basically just make sure that you save your project in the same folder/file as the Engine you’re running. Eg. I’m using Unity 2020 so my projects are saved in that same location on your machine. This is what fixed it for me in any case. I hope it might help others.

Close Scene Tab Then Re-Open

lol

EditorWindows not available in this project
UnityEditor.WindowLayout:LoadDefaultWindowPreferences()

The resolve is changing editor layout Window=>Layout=>‘choose any default layout’

1 Like

Nice, this was the reason why I was experiencing this. Thanks!

1 Like

I had this error on a completely new project using the default layout. Switching to another (custom) window layout didn’t output the warning, but then switching back to Default outputted it again. I fixed it but clicking “Reset all layouts” under layouts and the warning is no longer being outputted.

1 Like

Solved