Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Everytime I shut CPU off Unity messes up

Discussion in 'Editor & General Support' started by N1warhead, Oct 14, 2014.

  1. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    As the title says, it happend the other day, I ignored it and thought it was just one of them things that happens, because we all know, they happen lol.

    The first time I had to delete the Library folder because it wouldn't show my project had anything.

    Well to be safe this time I saved my scene, saved my project, then about 5 minutes later I shut my CPU off, wake up a few minutes ago and start Unity up, and this time now I'm getting this error

    "
    Failed to load window layout: System.Exception: Exception of type 'System.Exception' was thrown.
    at UnityEditor.WindowLayout.LoadWindowLayout (System.String path, Boolean newProjectLayoutWasCreated) [0x001e6] in C:\BuildAgent\work\d63dfc6385190b60\Editor\Mono\GUI\WindowLayout.cs:549
    UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)
    "

    AND

    "
    Error while reading window layout: no main window found
    UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)
    "
    and made me revert to default Unity layout, and now my Water and stuff again went PINK!


    This only happens when I shut down my cpu, I can shut Unity off and open it later no problems, but when I shutdown computer I get this problem.

    4.5.4.f1 is the version I am using.

    Please help me!
     
  2. Boomsma1995

    Boomsma1995

    Joined:
    Mar 21, 2011
    Posts:
    95
    Got kinda confused when you write shutting down CPU. Actually meant shutting down PC.

    When you have you project open make sure you have meta files enabled before deleting your library folder, You can break your whole project otherwise.

    Try creating a new project and see if you still get the error, If yes re-install Unity. If no make sure meta files are enabled and delete every folder except Assets and Projectsettings. See if that fixes things.
     
  3. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884

    Ohhh didn't think about that, I i'm using Photon and Quil18creates or however you spell his user name said to do that something with them, thanks for telling me that!

    I'll try that soon.