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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #1126231