compilation error

what does it mean in the editor when it says,

"compilation failed because the compiler couldn't be executed!" ?

in case it's important, in the console tab, it has a yellow triangle icon where the error icon or message icon would be.

i think the yellow triangles indicate problems that aren't anything you can control or change... so that's why my answer would work in most cases.

1 Answer

1

well, i dont really know what it means, but i just exited unity, then opened it up again, and it worked great. so if anyone knows what that means, please, leave a real answer telling what that's all about, so people in the future will know what to do.

i also think unity should have an error reference like the script reference to let us know what the various and sometimes illegible error messages mean.

Most compiler errors can be found on the MSDN website. Just grab the error code and type it into the search such as NullReferenceException and InvalidCastException. So you can type it in by name or enter a code like CS0165 (uninitialized local variable) http://msdn.microsoft.com/en-us/library/ms123401.aspx

thanks. i never knew there was such a site... so thanks!