Search Issue Tracker
Fixed in 2019.2
Fixed in 2018.4, 2019.1
Votes
2
Found in
2018.3.0b2
2019.1.1f1
Issue ID
1153078
Regression
Yes
Debugging Unity C# code containing Async/Await breaks debugger & causes Editor to hard crash
How to reproduce:
1. Open attached project "case_662397-asyncCrashRepro.zip" and scene "AsyncRepro"
2. Open Visual Studio and attach the Unity Editor for debugging
3. In Visual Studio, place a breakpoint on line 62 (on int b = 0)
4. In Unity Editor, enter Play mode
5. In Visual Studio, press "Step Out" button (shortcut is Shift + F11)
6. Observe Unity Editor
Expected result: the Editor runs smoothly
Actual result: the Editor crashes
Reproducible with: 2018.3.14f1, 2018.4.0f1, 2019.1.2f1, 2019.2.0b2, 2019.3.0a2
Not reproducible with: 2017.4.27f1, 2018.2.21f1
Could not test with: 2018.3.0a1, 2018.3.0b1 (Visual Studio does not find coresponding location, image attached)
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
- [iOS] SystemInfo.systemMemorySize returns negative values
- [Physics Debugger] Colliders are visualized even if their Layer is not selected in the Show Layers property
- Crash on PAL_LocalIPC_IsConnected when IPC fails on launch
- [macOS] Video Player's 5.1 audio channel layout is incorrect when outputting to Audio Source
- AssetDatabase is overwriting GUIDs
Resolution Note (fix version 2019.2):
Fixed in 2019.2.0b7, 2019.3.0a7