Sometimes when I try to add a script to something, it says: “Can’t add script. You need to fix all compile errors in all scripts first!”, so I look at the log, and it says “Compilation failed because the compiler couldn’t be executed!”. What does this mean, and how do I fix it (other then reinstalling unity, which works for a while)? :?
It’ Becuase you have a error in your scence. Give me the script and ill fix it for you ![]()
Have I helped you? If you then please ask if you want to donate to you
Sorry i mean you have a error in your script… give it here and ill fix it:)
It isn’t the script, the script works fine, unity can’t compile the script for some reason.
Always a pleasure to welcome a Jedi Knight to the forum!
Is it possible that you have a completely empty script file in the project somewhere? This can sometimes cause problems. Even if you put just a comment or an empty Start function, it will be OK.