Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by FFVDGames · Feb 21, 2016 at 10:34 AM · prefabmetafolderrecovery

Unity ERASED months work of progress

I was working on my game the day that this happened, and a folder got deleted (I might have accidentally deleted it somehow), and now all of my scenes are GONE (each scene's objects were under one parent per scene, then were made into prefabs). I've tried recovering the files using free alternatives, but to no avail currently. At the time this question is being written, I am deleting the Library folder to see if re-importing the Assets will save them (I did find the prefab and meta files) and running 2 file recovery software applications to see if they bring up more things.

Any tips (besides backing it up to a machine EVERY TIME I change the main project)?

EDIT (2/21/2016): I managed to recover almost all of the prefab and meta files, but Unity gives me this error:

RI.Hid failed to create device file: 2 the system cannot find the file specified

And it only happens with the scene prefabs (I did recover an enemy prefab successfully). Can this be fixed? If so, how?

Another error:

Unable to parse YAML file: (Control characters are not allowed) and (Invalid leading UTF-8 octet) at line 0 (this happened to not only the YAML files (whatever those are), but the meta files as well)

EDIT (2/22/2016) :

I managed to find the scenes before the incident above happened, but I can't find a recovery system that'll let me do it for free, and I don't want to waste $100 on a system that doesn't work. Any suggestions on a good system?

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 meat5000 ♦ · Feb 21, 2016 at 10:13 AM 0
Share

Windows? No such thing as accidentally deleted. Its either in your recycle bin or you accidentally dragged the folder in to another folder.

Tried perfor$$anonymous$$g a Simple Search on your machine??

There are fundamental things mentioned in the manual to stop things like this happening. These include, opening your scene file straight after opening Unity, every time (Dont rely on "Last saved state" of editor). $$anonymous$$aking sure to save you project as well as your scene.

avatar image FFVDGames · Feb 21, 2016 at 07:15 PM 0
Share

None of that worked. It's gone.

I have been saving the scene and the project regularly as well.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by phil_me_up · Feb 21, 2016 at 12:01 PM

This is a wonderful reason why using SCM (Git / Perforce / Mercurial etc) is highly recommended!

Once you've got it set up, all you need to do is commit the files you've changed to source control and that's it, you've backed up. Not only have you backed up, you've also got a complete history of all your changes. If you've messed something up or just wish to revert back to an older version of a file, it's all there for you. Deleted a file? No problem, just recover it from source control.

There are plenty of source control options out there for you, and the one you use depends on your project, amount of data you have and of course the way you want to work, but spending a bit of time learning about how to use them is very recommended.

For obvious reasons, having this back up to an offsite server is recommended, as if your hard-drive dies you've not lost anything.

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

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

7 People are following this question.

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

Related Questions

Why is Resources.Load failing to Load UI Prefabs? 0 Answers

How to assign a child of a prefab 1 Answer

Script won't work on duplicates/prefab copies until I delete Unity meta files 1 Answer

Problem with instantiate and destroy multiple objects 0 Answers

GameObjects rotation 0 Answers


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