Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.1.X, 2020.2.X



Found in



Issue ID




[window layout] cannot load editor layout, stuck in infinite loop of "failed to load window layout"

Window management


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

- 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

- 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

  1. 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.

  2. 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.

  3. 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.

Comments (51)

  1. SeekerBear

    Sep 17, 2020 19:49

    Also occurs on 2020.1.6f1

  2. 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.

  3. 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.

  4. 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

  5. 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.


    C:\Program Files\Unity\Hub\Editor\<Version>\Editor\Data\Resources\Layouts\2 by 3.wlt => …\Library\CurrentLayout-default.dwlt.

  6. 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..

  7. 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.

  8. Breathing

    Sep 10, 2020 16:39

    Same problem. Can't open the unity editor. :(
    Windows 10, 2020.1.4f

  9. scottjdaley

    Sep 05, 2020 00:45

    I was finally able to open unity by replacing the contents of "Library\CurrentLayout-default.dwlt" (inside the project folder) with the contents of "AppData\Roaming\Unity\Editor-5.x\Preferences\Layouts\default\Default.wlt".

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.