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
1
Found in
4.0.0b9
Issue ID
489726
Regression
No
Internal compiler error on empty try-catch blocks in coroutines
The following code compiles correctly in MD (produces a warning), but throws an internal compiler error instead in the editor:
public class StartException : MonoBehaviour {
private NavMeshAgent agent;
IEnumerator Start ()
{
try
{
}
catch(Exception e)
{
}
yield return new WaitForEndOfFrame();
}
}
Internal compiler error. See the console log for more information. output was:Assets/AgentPaused/StartException.cs(15,33): warning CS0168: The variable `e' is declared but never used.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Add comment