Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Resolved Can not Launch Unity Due to "Failed to load window layout"

Discussion in '2019.3 Beta' started by NorthStar79, Jun 13, 2019.

  1. Sanders319

    Sanders319

    Joined:
    Jul 14, 2020
    Posts:
    1
    This worked for me. :)
     
  2. cubesmind

    cubesmind

    Joined:
    Nov 29, 2016
    Posts:
    2
    This is definitely a problem, seeing as how every time I create a new project I have to go in and delete these files. There needs to be a more permanent fix.
     
  3. lndcobra

    lndcobra

    Joined:
    Jan 28, 2020
    Posts:
    21
    For me it was because I had com.unity.ui@1.0.0-preview14 installed with non default font selected (Verdana).

    Had to

    1. Uninstall com.unity.ui packages in "\Packages\manifest.json" and "\Packages\packages-lock.json"
    2. Open editor ignore compilation errors
    3. Change font to default
    4. Reopen editor
    5. Install com.unity.ui package again

    Hope this helps someone!
     
    laqueenster and Seith like this.
  4. omar_5

    omar_5

    Joined:
    Feb 8, 2020
    Posts:
    9
    Still having that issue on 2019.4.12f1
    Deleting
    CurrentLayout.dwlt
    fixed it for me
     
  5. GingerLoaf

    GingerLoaf

    Joined:
    Dec 5, 2012
    Posts:
    18
    I can confirm that in 2020.2.1f1 this issue is still around. I was able to navigate through it by doing the thing where I copy Library/CurrentLayout-default.dwlt somewhere and then quit the editor (it then corrupts the file somehow) and then copied it back into Library/CurrentLayout-default.dwlt while the editor is closed. When I re-open the editor everything works fine.

    This is an absolute nightmare considering that unity already takes far longer than expected to import from scratch and build the library... even after I finally was able to open the editor it just resumed importing assets. I hopped on my machine to make a few simple changes tonight and the editor itself completely blew away my opportunity. I got nothing done tonight and I am pretty bent out of shape over it.
     
    ROBYER1 likes this.
  6. BennyTheBomb

    BennyTheBomb

    Joined:
    Oct 16, 2017
    Posts:
    2
    I had a bunch of people trying to open my project in Unity 2020.1.6f1 who experienced this issue afterwards. Solution was to delete the UserSettings folder which probably included a custom window layout I had.
     
  7. jdjddjdj

    jdjddjdj

    Joined:
    Apr 5, 2020
    Posts:
    8
    Here's what is working for me... Was ready to chuck the cpu in thah river...

    I go into the library folder of any working/loading project
    I copy the file CurrentLayout-default.dwlt
    I paste the file into the Library folder of the bum project.
    Now the project loads good.

    Seems to work for me... Mac 10.13.6 Unity 2020.1.5f1
    I now am just keeping a folder with the CurrentLayout-default.dwlt file in my Unity Projects folder so I can copy paste and actually get to work rather than fight this issue...
     
  8. Lenvanthis012

    Lenvanthis012

    Joined:
    Aug 24, 2013
    Posts:
    21
    We resolved this case by copying two files at Library from working unity project into the current Library directory.
    CurrentLayout-default.dwlt and CurrentMaximizeLayout.dwlt
     
  9. chucky16140

    chucky16140

    Joined:
    Jun 18, 2020
    Posts:
    1

    You Legend!
     
  10. RamyGom3a

    RamyGom3a

    Joined:
    May 11, 2020
    Posts:
    1
    Thanks mate, I can confirm that this worked for me
     
  11. Deleted User

    Deleted User

    Guest

    Just close The Scene and Open it again
     
  12. piggybank1974

    piggybank1974

    Joined:
    Dec 15, 2015
    Posts:
    621
    closing the scene does not always work, I found out the problem for me was I had saved my layout to a file, and on newer versions of unity it fails just clear this and you might find when you create a new project it works?
     
    Kaldrin likes this.
  13. Gue123

    Gue123

    Joined:
    Oct 24, 2020
    Posts:
    4
    The only thing that helped me was:
    1. Open "Help" --> "Check for updates" in the editor menu bar
    2. Deactivate the checkbox "Check for Updates"
     
  14. krishnarajsr89

    krishnarajsr89

    Joined:
    Sep 19, 2020
    Posts:
    1
    I deleted CurrentLayout.dwlt from Library Folder. Created a new Unity project ,copied and replaced the CurrentLayout-default.dwlt
     
    ROBYER1 likes this.
  15. coldev2

    coldev2

    Joined:
    Oct 27, 2018
    Posts:
    6
    “Failed to load window layout” Error
    solution 2022.3.6 and above

    • close the unityhub first

    solution +A
    -----
    1. in directory %AppData%
    delete all roaming/unity and roaming/unityhub directories
    ----
    2. in unityhub locate your unity.exe path manually
    ----
    3. delete your library directory in project
    ----
    4.
    load your project backup in unity again
    ----

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    solution +B
    -----
    1. uninstall unity and unityhub
    -----
    2. in directory %AppData%
    delete all roaming/unity and roaming/unityhub directories
    -----
    3. in programfilesx86 and programfiles
    delete all unity and unityhub directories
    ---
    4.
    install unityhub
    install unity
    ----
    5.
    in your project, delete your library directory
    6.
    load your project again
    ----
     
    Last edited: Aug 8, 2023
  16. JeffreyStrate

    JeffreyStrate

    Joined:
    Jul 27, 2016
    Posts:
    32
    2022.3.9 LOL ERROR IS RETURN