Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
58
Found in
2020.1
2020.2
Issue ID
1275270
Regression
Yes
[window layout] cannot load editor layout, stuck in infinite loop of "failed to load window layout"
steps to repro:
1a. copy the attached "corrupted" LastLayout.dwlt into ~/Library/Preferences/Unity/Editor-5.x/Layouts/default/ (or win/linux equivalent directory)
1b. create a new project via Unity hub
Expected: project is created and opens (and... revert factory settings / load default layout buttons fix the issue and Unity opens)
Actual: project is created but then a dialog appears and user is stuck in infinite loop that can only be stopped by selecting "quit"
repro: 2020.2.0a21, 2020.1.5f1
no repro: 2019.4.6f1
Note:
- found on MacOS
- "Failed to load window layout" window causes user to be caught in an infinite loop since nothing fixes the issue so the window will stay
- 2019.4.6f1 can successfully open with the "corrupted" LastLayout.dwlt but does show console errors
Workaround:
- try moving or deleting the files at
- ~/Library/Preferences/Unity/Editor-5.x/Layouts/default/LastLayout.dwlt (or equivalent path)
- <PROJECT>/Library/CurrentLayout-default.dwlt
-
RedHermit
Oct 15, 2020 04:58
2020.1.9 (released today) resolved this issue for me as well
-
SeekerBear
Oct 14, 2020 21:42
Appears to be fixed in 2020.1.9 (released today)
-
Quartermaster47
Oct 07, 2020 12:25
I fixed this issue by copy and pasting the CurrentLayout-default.dwlt file from my previous project onto the CurrentLayout-default.dwlt file from a new project. Hope this helps!
I'm on 2020.1.6f1
-
DragonParrot
Oct 07, 2020 10:36
I'm also having this issue on Unity 2020.1.6f1. The workaround of manually deleting the layout files works for me, though I admit that it does feel a bit frustrating.
-
SIPAA
Oct 06, 2020 12:43
Still having this problem on Unity Hub 2.4.0 and Unity 2020.1.6f1. Cannot create a new project
-
munozpro
Oct 05, 2020 09:42
NOT fixed, As of 10/5/2020
The copy and paste workaround is only a temporary fix! I would only able to work on my project for an hour until I get errors in the console, and the inspector stays blank.
-
ZoeDreams
Oct 04, 2020 16:46
The easiest way to fix this is to just remove the Last and Current layouts which get locked and wrong permission so they do not get updated when creating a new project with the default layout. Could i suggest just to manually copying over the default template file, instead of trying to update when you trigger a first load import. Thank you.
just remove these two files, and unity will autogenerate the proper ones when you open the project again.
<home_dir>/Library/Preferences/Unity/Editor-5.x/Layouts/default/LastLayout.dwlt
<project_dir>/Library/CurrentLayout-default.dwlt -
ZoeDreams
Oct 04, 2020 16:39
This is still broken on MacOS 10.15.7 (19H2). using the latest version of UNITY. This is like super easy to fix, wtf?
-
GrandMasterTux
Oct 03, 2020 18:49
Thanks @UNITY_P1HWJALSC5LYGA this resolved my issue. This issue exists on Windows 2020.1.6f1. Uninstalled Unity and Installed the latest 2020.1.7f1 and issue still existed. Issue occurred on both versions listed when a new project was created using Universal Render Pipeline.
-
bea02wil
Oct 02, 2020 18:25
this helped me too, but i tired to get this issue
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Resolution Note (fix version 2021.1):
You can resolve this issue by upgrading to the appropriate fixed version:
- 2021.1.0a5
- 2020.2.0b12
- 2020.1.14f1
What has changed?
- “Failed to load window layout” popup dialog now displays the error that occurred when loading the layout.
- Choosing “quit” will remove the broken layout from the cache.
- Choosing “Load default layout” or “revert factory settings” no longer results in an infinite loop with “Failed to load window layout” - A console error will indicate why Unity failed to load the window layout - this can be cleared.
Resolution Note (fix version 2020.2):
Tested fixed in 2020.2.0b12
Unity no longer creates an infinite loop of popup dialogs when attempting to load an invalid or corrupted layout.
Resolution Note (fix version 2020.1):
Tested fixed in 2020.1.14f1
Unity no longer creates an infinite loop of popup dialogs when attempting to load an invalid or corrupted layout.