Call for help
Hello everyone, hope LD went well/is going well!
I have a big issue with my project. I'm using Unity (2019.1.0f2), and I opened a script from a previous project to see how I handled something in the past. After opening this file ALL of my scripts in the entire project say "The associated script cannot be loaded. Please fix and compile errors and assign a valid script." Visual studio shows no errors in any of my scripts.
I tried re-importing everything, restarting unity/computer/visual studio. No success.
Build and run throws this error:
UnityEditor.BuildPlayerWindow+BuildMethodException: Error building Player because scripts have compile errors in the editor at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:uildslave\unityuild\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:uildslave\unityuild\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97 UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
If anyone could help me fix this that would be greatly appreciated.
https://ldjam.com/events/ludum-dare/48/the-depths-of-science




