Script will not open in Visual Studio...it is empty but 1 kb big...what to do??

Hello,

I am working on a 2D game, but today I got a bluescreen while programming and after restarting my laptop, I could not open one of my scripts that I used before the bluescreen appeared. If I open it, it is an empty text object, but it says, that it is 1 kb big…I don’t know, if I can restore such a script or do you have any ideas how I can get this script back? It was very important for the game mechanics and I saved it after every change.

Thank you very much!

Unfortunatly there’s no magical restore if you only have one and it’s now corrupted. This is why you should always use source control such as GitHub which is free.

Oke thank you for your answer!