Search Issue Tracker
Duplicate
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.1.4f1
2019.2.0a1
2019.3.0a1
Issue ID
1168179
Regression
No
[VSCode]During debugging Unity Editor receives StackOverflow/ThreadAbortException errors, exiting debug results in Editor freeze
How to reproduce:
1. Open attached project "DebugRepro.zip" and scene "TestDebugger"
2. Make sure that Edit -> Preferences -> External Tools -> External Script Editor is set to Visual Studio Code
3. In Project window, open up "DebugScript" script
4. In Visual Studio Code, put breakpoint on line 12 and start Debugging (hotkey F5)
5. In Unity, enter Play mode
6. In Visual Studio Code, hover over "List" variable, expand "[0..99]" after that expand "[0]"
7. In Visual Studio Code, stop Debug mode
8. In Unity, exit Play mode
9. Observe Unity Editor
Expected result: no errors are thrown, the editor works as expected
Actual result: "StackOverflowException: The requested operation caused a stack overflow." and "ThreadAbortException" are thrown, Unity freezes
Reproducible with: 2017.4.30f1, 2018.4.4f1, 2019.1.10f1, 2019.2.0b9, 2019.3.0a9
-
Resolution Note:
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
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
- Text is culled by size when Content Size Fitter is small and rich text is used
This is a duplicate of issue #1130912