Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

8

Found in

3.5.0b4

Issue ID

433392

Regression

No

Compiler crashes on unreachable code

Scripting

-

To reproduce:
- Unzip the attached project "case_433392-CompilerCrash.zip"
- Open the project in Unity
- Notice the compiler error:

Internal compiler error. See the console log for more information. output was:Assets/ParallelMusicManager.cs(73,25): warning CS0162: Unreachable code detected

...

Unhandled Exception: Mono.CSharp.InternalErrorException: Assets/ParallelMusicManager.cs(123,17): <FadeClip>c__Iterator0 ---> System.ArgumentException: Label not marked

...

Comments (4)

  1. jeremyfp

    Oct 02, 2015 19:38

    Wasted nearly a whole day on this one. Still present in 5.2.1f1.

  2. David_Biggs

    Nov 05, 2014 23:23

    Still active in 4.5.5f1

  3. Nition

    Aug 30, 2014 08:51

    Confirmed still in Unity 4.5

  4. rain03

    Apr 16, 2014 09:36

    Shame on you, Unity Technologies. Almost 3 years old bug...

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.