- Home /
Scene Wiped?
Unity crashed some time ago whilst i was working on this scene, i thought nothing of it at the time, and decided since unity thought it best i take a break from that scene, i jump on to my starter scene, then to realise that the entire "Level01" has been cleared, this had thousands and thousands of un-regain-able custom models, buildings, characters, vehicles, and now when ever i go into this scene, all of the 1000+ hrs of work in this scene is missing, and refuses to come up with anything!
is this simply a case of... pffhht what a noob, should have backed up... or is there a way to recover?
alt text...
Depending on what unity was doing when it crashed, like importing something or building, it may prompt you to recover, but if not, it pains me to say, but probaly everything got trough the space void... I was working on a project for the whole day, but i manage to stuck unity with an endless loop in the scripts, so the only thing left to do, was interrup the unity process in the task manager, and do it all over again, sad history... I know how you feel. Remember to regularly copy the project folder and zip it in some sad cases like that.
thought that might be the case... had a power outage whilst working on this scene, and when power came back on and booted up unity, it had to import all assets again, after about an hr of waiting for that, it crashed when it was near finished importing... so I closed.. didn't bother to send crash report, as crash send reports never send for me.... opened it up. still took ages to import the assets but didn't crash this time, started working on 'Level00' for a while and then decided to try and fend off the bugs that were lingering in Scene 'Level01' but everything was gone.
EDIT: and yeah i use to back up and zip the files every day, depending on the progress made even up to 3 times a day. but haven't backed up for about a month and a half now.
While your base assets and any prefabs should still be in your assets folder to place again, I'm afraid you've likely lost anything you've done specifically within the scene itself. It sounds like you likely have a good number of customized gameobjects within the scene without prefabs, and a lot of level layout.... I don't think you're going to get that back without a recent backup.
Just a tip for the future (I know doesn't help now), but when I create complex scene objects, I still create prefabs of them. I've accidentally blown away a scene before by deleting the wrong scene and found having those prefabs to be a life saver even with no intention of using the prefab itself. It also makes it easier to undo changes to specific scene objects when you noticed you make a mistake with some earlier change but don't want to blow away all changes elsewhere in the scene you've done since then.
Good luck
This should still apply to latest Unity. Too late for you now but next time it might help :
http://answers.unity3d.com/questions/13920/editor-crash-where-is-scene-data-kept.html
To avoid this in the future, follow the first steps as described in the manual.
1) Open Project 2) LOAD SCENE X) Back-up everything without Overwriting
Answer by tanoshimi · Apr 05, 2017 at 06:32 AM
Your custom models, buildings, characters etc. are not saved in a scene file - they are assets which are added to your Unity's project directory, just like any other documents on your filesystem. And if you delete them, you restore them like any other file - from the Recycle bin, Time Machine, a backup file etc.
The only thing you should have lost from a scene file becoming corrupt is the layout of those particular assets in one scene - the level design of where prefabs are placed. That's very unlikely to be 1000+ hours of work, and you should start using version control to prevent having to do it again next time.
Oh, I'm sorry, I had no idea you were the developer of my game..... how can you claim that my project did not have 1000+ hrs of work when you have no idea of what my project concluded of? By custom models, i mean things that were made in unity that i did not prefab.
Uhm, he most likely just used some common sense. You said above:
haven't backed up for about a month and a half now.
So that's about 45 days in total. I doubt that you work 7 hours a week, but even when you do, you would need to work almost 24h a day to reach 1000h in that time period. It's more likely that one would work 5 or 6 days a week at about 8-10h a day. So at 38 days and 10h a day that would mean about 380h.
In addition he said "unlikely" not "you did not spend". Of course we don't know how much time you actually spend,
Working on a huge project for weeks without backups is one fault. Just restarting Unity after a crash (knowing not having a backup) was the second fault. Restarting Unity again after getting a crash at import was your third fault. A crach always has the potential to corrupt / destroy files. If you would have created a backup right after the first crash, chances would be good that the scene is still there.
If you don't have any backup system set up then your scene file is gone for good. If you work on Windows your last resort is to check if you have volume shadow copy enabled on your harddrive.
Please read my reply carefully. I did not say your project did not have 1000+ hrs of work. I said your scene file (the thing you said you wiped) was very unlikely to have 1000+ hrs of work. Quite aside from the purely mathematical deduction pointed out by @Bunny83, your scene file contains only the layout and relationship between items in the scene. Even the most complex of scenes can be recreated fairly quickly by simply dragging and repositioning prefabs. And, if you didn't create prefabs, that's another learning point for you in addition to source control:
https://unity3d.com/learn/tutorials/topics/interface-essentials/prefabs-concept-usage
https://unity3d.com/learn/tutorials/topics/cloud-build/creating-your-first-source-control-repository
Your answer
Follow this Question
Related Questions
Destroy All Objects In The Scene??? 1 Answer
Objects disappeared from the scene after migrating 2 Answers
2d tutorial scene not visible 1 Answer
completely lost noob 1 Answer
How can i transfer an object from scene1 and instantiate it in scene2? 2 Answers