After downloading an asset , I entered an demo and it literally deleted everything in the game, I am wondering can I get it back please. I have spent an long time on this.
it first caused an complation error which made me enter safe mode and then after I exited safe mode everything was gone.
Revert and checkout latest working version
no way to recover, if you didn’t have version control / cloud or backups…
Did it delete/overwrite only scene or all scripts and other files too?
You can try using some undelete tool (recuva, recoverrx),
but most likely cannot restore all files.
If you have existing build, you can try decompiling it to get some data back.
It has happened to others too,
if you import samples or assets, that have same scene, it can overwrite your scenes or files.
Or, sometimes Unity hub bug resets your project to empty one.
You need to have backups.
Git is one of the version control systems that allows you to save every change in your project, saving the history in the cloud:
- Bitbucket + Sourcetree + Git (my setup).
- GitHub + GitHub Desktop + Git.
- Unity Version Control.
MS devops gave no limit on the repo size. We migrated from bitbucket to deveops because of this
how can I do this?
That advice was contingent on you actually using some form of version control.
If you weren’t, you’ve learnt the lesson the hard way and it’s time to start using version control.
Ok Now i understand
Thank you
This isn’t helpful. Yeah, we all know that’s the “right answer”, but you should read the room. The kind of person asking this question probably A) Has no idea what version control is, and B) Therefore doesn’t have a latest working version to revert to. So telling them to a revert to a likely non-existent backup isn’t helpful.
I’m all for explaining helpfully that people should be using version control / backups for their projects. But your response just feels arrogant.
Yes, i also face the difficulties. Please give proper answer.
You cant because you didnt use versioning. But lessons learnt right