Ok so I have been working on a unity FPS game and It was going by pretty well. I was trying to make the game look a little bit better so I imported some unity assets, they were very large assets and I didn’t really want them so I tried to delete only their files, that thing is that they kind of mingled with all of my files and so I accidentally deleted my main scene. I got really confused and everything just broke so I closed the application without saving hoping that I would go back to be fore I had the imported assets but I had saved after deleting everything. Now I’m trying to rebuild my game but the thing is that I have tons of errors and I don’t know what any of them mean. If you guys could just look through the project and give me any help it would all be very very appreciated from my part., and if you think I should just copy the scripts or something over and otherwise start from scratch then please, do tell me that as well.
Here’s the link to my Itch.Io page so you can download it and help me out.
The Broken FPS Game by FirstBB8Droid
Thank you so much for helping me. It means a lot.
No backups then? No source control?
Just post errors using Code tags, one at a time. You’ll have better luck than hoping people will go off and download and run your project.
If you delete files then those files cannot be restored by closing the app without saving. Your basically deleting them from your computer. To restore them go to your computer recycle bin…hopefully you haven’t emptied ot!
Once you delete something it’s gone if you permanently deleted them. That’s with a big BUT. There are ways to recover deleted files if you are lucky and that too depends on your storage hardware. If you are using SSD I am not pretty sure as it’s architecture is fundamentally different than hard drives. Just google “Retrieving deleted files” and you will find hundreds of resources. This is not a guaranteed recovery either. If the space that was allocated to that file is rewritten by something else, you can pretty much say goodbye to it
Definitely use source control. There is no excuse for not using a source control.
Files deleted within Unity typically move to the recycle bin immediately. Changes which don’t save automatically are things like certain settings or changes within a scene (which change the contents of the scene file rather than creating/deleting actual assets on disk).
What I would do is using your backups or source control, restore to immediately before you imported these assets which caused you problems. If you’re not using either, well that should be the first thing you start doing going forward. You should post the errors you don’t understand. You’re unlikely to get anyone willing to download your entire project.