As stated in the title, my computer crashed while compiling a script, and now the script is corrupted. I found ** https://answers.unity.com/questions/536750/unity-crashed-and-corrupted-a-huge-cs-script.html ** that seems to be the same problem I have. One of the solutions in that question states to use ILSpy, which I downloaded, and to navigate to Assembly-CSharp.dll to find the scripts (Using ILSpy I opened the library folder of my project, then the script assemblies folder, and finally Assembly-CSharp.dll). I did this and the script that is corrupted is not in there, but all of my other scripts are. I haven't built the project ever, so I can't find the script in a build. I tried deleting the library folder, which did nothing. I've refreshed assembly-csharp in monodevelop , cleaned, built, and rebuilt it also. I am not sure what to do, as I cannot see my corrupted script to retype it out as a new one, so I'm kind of stuck and cannot work on my project as my other scripts depend on this one.
↧