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 (50)

  1. SeekerBear

    Oct 14, 2020 21:42

    Appears to be fixed in 2020.1.9 (released today)

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

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

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

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

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


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

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

  9. bea02wil

    Oct 02, 2020 18:25

    this helped me too, but i tired to get this issue

  10. holytoast

    Oct 02, 2020 00:10

    Thx for the solution. Worked for me.

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.