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

Question I deleted all of my code Is there a way to get it back?

Discussion in 'Code Editors & IDEs' started by noahsetman, Jul 8, 2022.

  1. noahsetman

    noahsetman

    Joined:
    Jun 30, 2022
    Posts:
    1
    I accidently deleted all of my code Is there a way to get it back. It is not saved in my files. I don't know what to do.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    How did you delete the files? If you're on Windows, check the Recycle Bin. Otherwise, in the future, make sure you make frequent back ups, or use source control.
     
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,596
    Mac and Linux have trashbins, too. ;)
     
  4. MitchStan

    MitchStan

    Joined:
    Feb 26, 2007
    Posts:
    576
    Hmm, with only 1 post to their history, how much code could they have had? Smells fishy.
     
  5. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,540
    Sadly it's not unusual that we have people who just started that aren't using some form of backup let alone version control. Lately many of them have been shoving their projects into the Hub folders thinking that's somehow a good idea despite the Hub never defaulting to that location.