0 votes
by (8.2k points)
edited by

I was working on it for days and I lost everything after Unity randomly crashed without any warning! How can I recover my scene and prefabs?

1 Answer

0 votes
by (8.2k points)
edited by
 
Best answer
  • If you want to restore your scene file, you cannot re-launch Unity Editor after the crash. If you do, you will lose the scene file and all your progress with it!
  • If you want to restore your crashed scene, you have to go to your project’s directory (this is the folder that also contains the Assets directory) and then enter the Temp/__Backupscenes directory. You will find the 0. backup file within. This is your saved scene file.
  • Now all you have to do is to copy this file and replace your previous scene file with the copy. You will need to set the file extension to unity in order to make this file recognizable as the Unity scene file.
  • Please remember to backup your project folder before making this kind of change. If you make any mistake, you can easily go back and try again.

KINDLY SAVE THE GAME AND WAIT FOR 6-7 SEC BEFORE PLAYING THE GAME.

TechXR runs courses in AR / VR / Metaverse / Game Development. Some of the popular Q&A in our courses are available here for easy discovery.

113 questions

117 answers

8 comments

99.7k users

...