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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
This is a duplicate of issue #1126231