Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Huge problems lots of help needed, very important

Discussion in 'Editor & General Support' started by FirstBB8Droid, Jun 4, 2020.

  1. FirstBB8Droid

    FirstBB8Droid

    Joined:
    May 17, 2020
    Posts:
    39
    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.
    https://firstbb8droid.itch.io/the-broken-fps-game
    Thank you so much for helping me. It means a lot.
     
  2. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,215
    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.
     
  3. TimmyTheTerrible

    TimmyTheTerrible

    Joined:
    Feb 18, 2017
    Posts:
    186
    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!
     
  4. ProgrammerTurtle

    ProgrammerTurtle

    Joined:
    Oct 8, 2018
    Posts:
    28
    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.
     
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    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.