Most of times I get "Internal compiler error", I just edit anything in any file so it will recompile and then it goes away. Restarting Unity is another way of doing that same thing: triggering the compiler.
This time nothing of that worked.
What could have happened?
asked Jul 04, 2013 at 08:03 PM
SisterKy have already compiled a fine list for the "what could have happened" part.
The warning, at other hand, gives a very specific information about what did happen: "Unreachable code". I think it is still a compiler bug because of this simple test which does reproduce the same error (which was coincidentally already mentioned by cowlinator elsewhere). Just create an empty project and add this file:
Once you know where this little bug is located it becomes pretty simple to find many ways to go around it. One way is using