Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Can't Launch Unity!

Discussion in 'Editor & General Support' started by Thordis, Mar 8, 2006.

  1. Thordis

    Thordis

    Joined:
    Mar 1, 2006
    Posts:
    18
    Unity crashed while I was working on my project, (I guess I was trying to Instantiate something incorrectly, because that's the last line I added before it crashed).
    Then when I tried to relaunch Unity, it wouldn't open, it would begin to, then say Fatal Error and crash. I move my project to another directory and redownloaded and reinstalled Unity, which worked (let me atleast launch Unity) until I loaded my old project.

    I figure my project must have been corrupted somehow when it crashed... but does anyone know anything I can do about it? I have way to much work put into it to just give up, but I don't know what to do!

    Help!
    Will
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Upload the project somewhere i can download it and send me a link: joe at otee.dk

    I will take a look at it and recover it. I will also add some more file consistency checking to avoid those problems in the future.
     
  3. aaronsullivan

    aaronsullivan

    Joined:
    Nov 10, 2005
    Posts:
    986
    The other thing to do in the future, of course, is backup often. I keep switching between computers so I always have it on two computers. Using something like subversion is a good idea, too, but currently it will only work for the scripts.

    I also had a problem where Unity crashed after I had made a change in folder hierarchy (using Unity like a good boy.) When I loaded the project back up, everything worked, but the scripts that were supposed to be in an inner folder showed up one level above. Double-clicking would still load the files and everything worked fine, but I ended up forgetting a couple scripts when I created a new folder and moved them in. Then I deleted the old "messed up" folder and I instantly realized that I had just hosed those scripts.

    Fortunately, I had them all backed up and didn't lose a thing.

    At last, my point follows: It would be good to have a "save a project copy" item in the file menu, so you could save a backup to a different folder without switching which file you are editing (like "save as" does.) It's effortless backup for those that want to use it.