Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Unity crashed, can i recover my lost hours of work ?

Discussion in 'Getting Started' started by narf03, Jan 1, 2017.

  1. narf03

    narf03

    Joined:
    Aug 11, 2014
    Posts:
    207
    Its a Happy new year crash from unity.

    I saved all scripts but all scene settings are gone, hours of work gone, want to know if there is a way to recover it ?

    Thanks.
     
  2. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    1,281
    If you never saved your scene during these hours I'm afraid the answer is obvious.
     
  3. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,071
    Sure. Simply reload your latest commit from version control. You are using version control with frequent commits, right?

    Since this is getting started, I should also point out that Unity doesn't always open a scene by default when a project opens. If you've saved the scene, it will still be in the assets folder.
     
  4. narf03

    narf03

    Joined:
    Aug 11, 2014
    Posts:
    207
    Hi, i have redo all my lost work without reading this. But i can foresee this wont be the last time unity can crash, I will need to know more about your "reload latest commit", can you explain a bit more ? I could not find anything within unity that match your description. Sure we all can benefits alot from it, please give us more details, thanks.
     
  5. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    1,281
    Kiwasi likes this.
  6. narf03

    narf03

    Joined:
    Aug 11, 2014
    Posts:
    207
  7. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    12,872
    It's called having a backup. Version control is just a very advanced form of backup. One that allows you to see the changes you've made in the past and even revert back to them if you decide your latest changes have broken things. It's very handy.
     
    Kiwasi likes this.
  8. narf03

    narf03

    Joined:
    Aug 11, 2014
    Posts:
    207
    I know UFO is good to have, its good way to travel to other planets, but i need protection against crash atm, we will talk about UFO later, ok? =P
     
  9. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    1,281
    There is no protection against crashes; if Unity crashes and you have not saved your scene on a regular basis while you were working, your work is lost, that's it.
     
  10. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    12,872
    Having a backup is protection against crashes (it's just reactive instead of proactive). If Unity crashes you simply order a checkout from your repository and continue along as if nothing had ever happened.

    By the way there are free autosaving editor extensions on the Asset Store with good reviews. Just in case you haven't gotten to the point where you spam Ctrl-S every few changes to your scene like I do. :p

    https://www.assetstore.unity3d.com/en/#!/content/38279
     
    Last edited: Jan 3, 2017
  11. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    1,281
    Not sure Unity needs more excuses to crash. ;)

    I do spam Ctrl+s each time I add something to a scene and each time I modify something in a scene and each time... oh well. :D
     
  12. narf03

    narf03

    Joined:
    Aug 11, 2014
    Posts:
    207
    Yes, we can talk about UFO now.
     
  13. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,071
    You keep using that word. I do not think that word means what you think it does.

    What does UFO mean in the context of backups and version control?
     
  14. narf03

    narf03

    Joined:
    Aug 11, 2014
    Posts:
    207
    UFO means unknown flying object, its supposed to be a joke, but seems im bad at that, anyway, i applied the "autosave" and it should solve my problem, cant tell until unity crashes.Thanks.
     
  15. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    12,872
    He's using it as a metaphor (I think this is the correct word).
     
  16. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,071
    Got ya.

    Some things don't translate well across cultural gaps. A key tip for the future is to show a smiley face next to it. It clearly indicates you aren't meant to be taken seriously.
     
  17. Suduckgames

    Suduckgames

    Joined:
    Nov 28, 2016
    Posts:
    110
    I just came across this topic from google, so I will let here the solution in case someone need it.

    You can recover your progress in your project folder > Temp >_Backupscenes > 0.backup

    Just rename it to "whatever.unity" and open it. You will have all the progress that you did before the last time you click play button
     
  18. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,130
    Can you just not test by making a change in your scene, then exiting Unity without explicitly saving? No need to wait for a crash, right? And it should have been UFOs, plural, but let's not.
     
    Last edited: Jan 11, 2019
  19. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    2,800


    The plural form of UFO would be UFOs. An apostrophe would only be needed if you were making the word a contraction:
    or possessive:
    Also this thread was resurrected from 2 years ago, so... might not be a real issue that needs solving anymore?
     
  20. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,130
    What apostrophe? :) But yeah, I probably should get my grammar right if I'm choosing to correct someone! Note to self...
     
    Schneider21 likes this.
  21. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    2,800
    What... it was-- I just---