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

Scripting

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.