Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by jdecoste · Jul 28, 2014 at 02:02 AM · open

How do I fix "Failed to load window layout"

I have just installed the latest version of Unity on my macbook pro. When I launch the application, a notification come up saying it failed to load the window layout. I have tried the options it provides, reinstalling unity, and holding alt when opening to start a new project. All yield the same result.alt text

screen shot 2014-07-27 at 5.29.36 pm.png (31.3 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image siddharth3322 · May 17, 2015 at 11:29 AM 0
Share

At present I have this issue and I have tried all the solutions but neither one worked for me.

Please give some other suggestion for this.

avatar image Bunny83 · May 17, 2015 at 01:08 PM 0
Share

@siddharth3322:
If you're on windows, try simply deleting the last layout. Just go to this folder:

 %AppData%\Unity\Editor-5.x\Preferences\Layouts\

 // this usually brings you to a folder that looks something like:
 C:\Users\YOURUSERNA$$anonymous$$E\AppData\Roa$$anonymous$$g\Unity\Editor-5.x\Preferences\Layouts\

In that folder you'll find a file called "LastLayout.dwlt". Just delete this file (you might want to create a backup if you want but since the layout is corrupted it most likely can't be recovered).

If this doesn't fix your issue, there's something else wrong on your PC. $$anonymous$$aybe a permission problem.

10 Replies

· Add your reply
  • Sort: 
avatar image
9

Answer by turbolek · Sep 16, 2020 at 02:05 PM

I just had the same issue on a new Unity Project, on a fresh Unity 2020.1.4f1 install, on a fresh Windows install. I fixed it by

  1. going to AppData/Roaming/Unity/Editor-5.x/Preferences/Layouts.default

  2. opening Default.WLT file in Notepad

  3. going to MyProject/Library

  4. opening CurrentLayout-default.DWLT file in Notepad

  5. pasting the copied text and saving the file

I don't know why it worked though, just sharing what I discovered after a day-long research.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SpicyPaper · Sep 18, 2020 at 08:34 PM 0
Share

I tried so many things before that one haha. Thank you man, you saved me !

avatar image RhythmRunnerStudios · Sep 28, 2020 at 10:47 AM 0
Share

This worked for me as well. It's working because the editor is having errors with the window layout settings and is unable to reset them at launch (or to load the last layout) and this is manually setting the layout back to the defaults from the wlt files.

I seem to have to do this every time I boot Unity after having windows besides the default windows open, they really, really, need to fix this it is extremely irritating.

avatar image SunilSoni · Oct 02, 2020 at 09:53 AM 0
Share

nice work, it works for me.

avatar image MotionBrain · Oct 06, 2020 at 12:28 PM 0
Share

Thank you my friend. It happened the first time with Unity.2020.n

Also the new version 2020.1.7f1 has the error.

avatar image ahmedaniss · Nov 26, 2020 at 11:09 PM 0
Share

problem fixed here : https://youtu.be/Av9zt1gcpqc

avatar image
7

Answer by lulitha · Sep 11, 2020 at 04:40 PM

Resolved IT Create a new Project go to the file location and copy 'project'/Library/CurrentLayout-default.dwlt Paste this file into your original projects ...librarry/... path It worked for me.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image linco95 · Sep 11, 2020 at 07:59 PM 0
Share

This solved it for me too. Thank you!

avatar image drewjosh · Oct 02, 2020 at 08:40 AM 0
Share

Thanks a lot! It also helped to just take it from a working project.

avatar image
2

Answer by ReaperMMA · Feb 25, 2015 at 05:33 AM

ANSWER 1. launch Unity. 2. relaunch unity (without closing your first failed message). 3. it will allow you to open a new or existing project. 4. fix your previous project somehow.**

your welcome :)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ardiawanbagusharisa · Mar 16, 2017 at 03:13 PM 0
Share

Dahell, it's works. Still have no idea.

avatar image ardiawanbagusharisa ardiawanbagusharisa · Mar 16, 2017 at 04:28 PM 0
Share

I get the failed to load issue. It is because I edit the unity static variable like

 GUI.skin.button.normal.background;

which is not a good practice. In my case, I want to do such changing the button state style after the user pressed it. So the better way is preparing temporary variable which could hold the same type of the value above. For example,

 public class SettingsWindow : EditorWindow {
     Texture2D buttonBgN;
         Texture2D buttonBgA;
         public GUIStyle $$anonymous$$enuItemStyle;
     
     void Awake(){
         $$anonymous$$enuItemStyle = new GUIStyle(GUI.skin.button);
         $$anonymous$$enuItemStyle.normal.textColor = new Color(1,0,0);
         $$anonymous$$enuItemStyle.hover.textColor  = Color.cyan;
     
         buttonBgN = GUI.skin.button.normal.background;
         buttonBgA = GUI.skin.button.active.background;
         $$anonymous$$enuItemStyle.normal.background = buttonBgA;
     }
     
     void OnGUI(){
         if(!pressedbool){
             if(GUILayout.Button("Change to A", $$anonymous$$enuItemStyle)){
                 pressedbool = true; 
                     $$anonymous$$enuItemStyle.normal.background = buttonBgA;
             }
         }else{
             if(GUILayout.Button("Change to N", $$anonymous$$enuItemStyle)){
                 pressedbool = false;
                 $$anonymous$$enuItemStyle.normal.background = buttonBgN;
                 }
         }
     }
     
     public void pressed(){
         GUILayout.BeginHorizontal();
         GUILayout.Label("You have pressed the first button, press the second button and this will dissapear");
         GUILayout.EndHorizontal();
     }
 }

Hope this help someone.

avatar image
2

Answer by Johannski · Jun 14, 2018 at 08:48 AM

If you're on Mac10.13 (High Sierra) and you're using an old unity version (5.4 or lower) the problem occurs as well. Sadly you can't do much about it. More on that here: https://forum.unity.com/threads/unity-and-macos-10-13-high-sierra.474527/

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image LiShiJiao123 · Jul 31, 2019 at 10:20 AM 0
Share

You're right. $$anonymous$$y problem is solved. Thank you

avatar image
1

Answer by russtman · Dec 18, 2014 at 01:07 AM

Hi, I had exactly this problem and it was because Unity did not have write permissions in the home directory where it was installed.

Fixed with command line (assume user foouser and you have sudo privileges):

 $ sudo /bin/bash
 # cd ~foouser
 # chown -R foouser .
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

25 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Adding audio not working (error: System::init or System:setDriver was not called) 0 Answers

Unity causes a whole bunch of random windows to open up when importing a project 1 Answer

Open AND CLOSE webpage 1 Answer

Failed to update Unity Web Player in Firefox 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges