Lost everything on startup

My game has loaded just fine for months, and i save it several times before shutting this computer off. Well today, Unity decided that i was going to be redoing EVERYTHING and deleted my entire scene. Heirarchy? Cleared. Fully. Assets? 50/50 split between what was saved and what wasnt. I dont know what happened, i dont know if it was my fault or if its on unity, i dont know. This should not have happened, and if ANYONE knows how to open that file from an older save so i dont lose ALL of my progress, that would be absolutely awesome. I have a backup on a flashdrive, which im throwing onto the HUB now so i have it just in case, but its taking a LONG time to upload. (Currently says “Busy for 6:52”)

could be related to this,

loading from usb drive will be quite slow, take copy from it first.
look into unity version control, so its easier to restore things if anything breaks.

also one reason why scene might be reset is if you import some unity packages and their sample scenes (and your scene had same name)

I could be just blind, but I think their issue is worse(?) than mine? I had a metric sh*t ton of assets, objects, things in my hierarchy, and it is now blank. I SEEM to have my assets still, but I don’t have the memory or ability to do a detailed scan to be sure. I did have a line of code somewhere that was supposed to (I think) load the CURRENT scene, meaning I shouldn’t have lost this much, but it might’ve made a brand new one. Problem is, I don’t know if that’s what happened, because when I // out that code, and re-ran my game several times, and even fully closed unity and reopened the game, nothing changed. My console also told me that really obscure, and unused assets were deleted, like a character asset’s shoes. (This character was not in my scene and was only an asset in my scene for about 10-20 minutes several months and saves ago.)
I’m wondering if there’s a way I can retrieve one of my older saves, so I don’t have to rebuild my scene from scratch, or if I’m right and I now have two scenes, how do I toggle back to my first one, delete the new one, and prevent this from happening again?

This game is really important to me, and I can’t afford to start over and redo any of this. I only have the time equivalent of 30-45 minutes a day for a schoolyear to get this where I want it, and I’ve already been battling one issue for a couple months straight. I can’t afford to lose any progress.

Any and all help is more than appreciated unless you’re gonna tell me I’m screwed and have to start over. if that’s the case, go away. please.

well, when it finishes i wonder if its a semi new project in that it made a new one around the old one in that you didnt copy all it neede so its started again, but, that the files you wanted are incorporated in the project files, and maybe its opening a new scene etc.

+1 to @littleskittle180 get source control, stick it on github or something where it will be safe and accessible and make sure to use the right .gitignore so that you dont backup a ton of rot you dont need to

Thats what im wondering too, though if that IS the case, i dont know how to fix it.

And i plan to put the whole thing SOMEWHERE so its safe from Unity deciding to chuck it out the window. how do i get source control to just drop the entire thing onto github?

WAIT HOLY SH*T I GOT IT BACK!!! I HAVE NO IDEA WHAT HAPPENED BUT I GOT MY GAME BACK!!

I think i was right and wrong. It made a new scene, then tossed my old one, but i was clicking around and saw “Load Scene” and clicked the lowest one, and it worked.

personally? id recommend sourcetree or gitkracken, you make a new repository set your .gitignore for unity and say yes, all those new files. commit. its now locally book marked that… Next to go to github make an account, setup a repo, go back to which ever software you used say this is the remote for my project… Hit push and it will save it. Plus, if you work on it, get to a git spot, click commit to put a new book mark in. and push… then if you actuallyed Fd up something you can go back… or you can try something hate it and revert… and its all there… safe…

Please. For the love of all that is holy. Get source control. Drop what you are doing this instance, and sign up for a simple git repo or PlasticSCM etc. If it’s something you don’t worry about people stealing, you can make it a public repo on git for absolutely free. Or the alternative is really affordable at 5 or less dollars a month.