Search Issue Tracker
Duplicate
Votes
0
Found in
2018.3.3f1
2018.3.7f1
Issue ID
1134694
Regression
Yes
async void Method() => throw new Exception("Error") is thrown every frame
How to reproduce:
1. Open attached project "AsyncExceptionBugReport.zip" and scene "SampleScene"
2. Enter Play mode
3. Observe Console window
Expected result: the warning is printed once
Actual result: the warning is printed every frame
Reproducible with: 2018.3.8f1, 2019.1.0b6, 2019.2.0a7
Not reproducible with: 2018.3.2f1 and older
Could not test with: 2017.4 due to the use of older C#6
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
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
- Text auto-scrolling can not work when naming assets/objects until backspace key is pressed
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
This is a duplicate of issue #1126231