Unity can crash due to a lot of reasons. This problem is faced by many Unity3D developers, when Unity3D crashes due to whatever reason a lot of work if unsaved gets lost, sometimes the whole scene gets corrupted.
This affects our work and wastes a lot of time.
To overcome this problem we can use the features what Unity does at the backend i.e. you can restore your work from Unity's temporary directory.
If Unity gets crashed while working follow these steps to recover the unsaved data:-
Please do not launch Unity unless you finish the below steps
Open temp folder under your Project folder.
You will find a file named __EditModeScene
Rename this file to LostSceneName.unity and move it to the path where your scene was lost.