Search Issue Tracker
Third Party Issue
Votes
0
Found in
2022.1.10f1
2022.2.0a11
2023.1.0a4
Issue ID
UUM-9350
Regression
Yes
Crash on method_commands_internal when debugging a script that has an Assembly Definition Asset
Reproduction steps:
1. Open user attached project.
2. Open “Assets/Scripts/postprocessor/post_process_sprite.cs”
3. Toggle breakpoint on line 10
4. Click “Attach to Unity”
Expected result: Unity editor does not crash
Actual result: Unity editor crashes
Reproducible with: 2022.1.0a13, 2022.1.10f1, 2022.2.0a11, 2023.1.0a4
Not reproducible with: 2020.3.37f1, 2021.3.6f1, 2022.1.0a12, 2022.2.0a12, 2022.2.0b1, 2023.1.0a3
Reproducible on: Windows 10 Pro 21H2
Note: You have to reimport the project on every version tested.
Stacktrace:
{noformat}0x00007FF8FEE254BA (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\debugger-agent.c:8719] method_commands_internal
0x00007FF8FEE26E8B (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\debugger-agent.c:9087] method_commands
0x00007FF8FEE29F78 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\debugger-agent.c:10289] debugger_thread
0x00007FF8FEC5D6AB (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\threads.c:1268] start_wrapper_internal
0x00007FF8FEC5D886 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\threads.c:1344] start_wrapper
0x00007FF9CD527034 (KERNEL32) BaseThreadInitThunk
0x00007FF9CEA02651 (ntdll) RtlUserThreadStart{noformat}
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
After investigation this was determined to be an issue with Visual Studio's debugger. Microsoft is aware of the issue and is fixing it under the following bug: https://developercommunity.visualstudio.com/t/Unity-crashes-when-setting-a-breakpoint/10102204