Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.2f2
Issue ID
844819
Regression
No
Unreachable code in IENumerator method causes console warnings to be duplicated as errors
STR:
1. Open the project
2. Observe "Test.cs" contents
3. Observe the "Unreachable code" displayed as both error and a warning
Expected: "Unreachable code" warning is thrown into console window
Actual: "Unreachable code" appears as both warning and error, thus doesn't allow building/entering play scene.
Note: Declaring a variable "int a;" in Start() method causes warning "The variable `a' is declared but never used" to be displayed as both error and warning too.
Reproduced on: 5.2.5f1, 5.3.6p8, 5.4.2f2
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
lachlanmcewen
Dec 01, 2016 00:18
Why wont this be fixed?