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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
This is a duplicate of issue #1126231