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
Comments (52)
-
Imakhiil
Sep 19, 2020 13:48
2020.2.0b1.2959 -- Same problem.
Xezrunner's workaround helped me tho:
"I managed to solve the window layout issue this way:
- I clicked on 'Load default layout' - the contents of CurrentLayout-default.dwlt reverted to the correct form that would work.
- I opened the file in Notepad++.
- It then returned to an empty (corrupt) layout file when clicking 'Quit'.
- Notepad++ now offered me to refresh the file, which I declined.
- I now saved the previous, correct file.The project now opens."
-
SeekerBear
Sep 17, 2020 19:49
Also occurs on 2020.1.6f1
-
xezrunner
Sep 17, 2020 13:17
I managed to solve the window layout issue this way:
- I clicked on 'Load default layout' - the contents of CurrentLayout-default.dwlt reverted to the correct form that would work.
- I opened the file in Notepad++.
- It then returned to an empty (corrupt) layout file when clicking 'Quit'.
- Notepad++ now offered me to refresh the file, which I declined.
- I now saved the previous, correct file.The project now opens.
-
RWOverdijk
Sep 17, 2020 11:16
Same here.
Windows, Unity 2020.1.5f1.
Clean install of unity (first time on this machine). Clean new project.
-
shiloh09630
Sep 16, 2020 19:23
I am currently having this same issue... I have tried all suggestions on this page and still nothing. I am unable to load a previous working version of any project nor am I able to create a new project. Any help with this would be greatly appreciated
-
banksysan_unity
Sep 16, 2020 17:23
Another workaround:
Copy one of the layouts from the default list in the editor directory into the Library folder overwriting CurrentLayout-default.dwlt.
i.e.
C:\Program Files\Unity\Hub\Editor\<Version>\Editor\Data\Resources\Layouts\2 by 3.wlt => …\Library\CurrentLayout-default.dwlt.
-
Peter77
Sep 15, 2020 17:20
-
chiblue3D
Sep 14, 2020 20:03
I found a work around, kind of sucks but I removed all installs of the HUB and Unity, cleaned the registry of any "unity" entries and then removed all Unity folders from the Users/.../AppData.
But now I can open a new project without issue..
-
chiblue3D
Sep 14, 2020 19:54
I just starting getting this today, I was using my projects in Unity 2020.1.5f1 without issue, this just today 9/14/2020 after 12PM Est. suddenly I started getting this issue. On all existing projects and creating new projects. I UN-installed all unity versions, including the HUB, did a clean install but I still get same error on a new project.. No matter what I try, from different solutions online, I cannot open a project. This is a serious issue as I am in the middle of my project development.
-
Breathing
Sep 10, 2020 16:39
Same problem. Can't open the unity editor. :(
Windows 10, 2020.1.4f
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
- Graph VFX not compiling enterely until they are open on MACOS
- Longer component titles exceed the window's display boundaries
- Overlapping objects do not collide when setting Physics.IgnoreCollision to false
- Crash on RaiseException when deleting animation transitions in a specific Animation Controller
- [XR][Vulkan] Vulkan Command Buffer memory leak every frame after scene change when using Multiview Rendering
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.