Search Issue Tracker
Not Reproducible
Votes
0
Found in
2022.3.39f1
Issue ID
UUM-76153
Regression
No
Editor freezes or crashes on mono_metadata_class_equal when debugging a script with an added breakpoint and entering Play Mode
Reproduction steps:
1. Open the “users attached project”
2. Open the “GameSceneV1”
3. Open the “{{PlayerController.cs}}" script
4. Add a breakpoint on line 80
5. Attach a debugger to the Unity Editor
6. Go back to the project and enter Play Mode
7. Observe the Editor crash or freeze
Reproducible with versions: 2022.3.39f1
Couldn’t test with versions: 2021.3.40f1, 6000.0.12f1 (due to compiler errors)
Reproducible on: macOS Sonoma 14.5 (Intel)
Not reproducible on: no other environment tested
Notes:
- The issue happens with any script in the project and by adding a breakpoint anywhere in the script
- Reproducible with Rider and Visual Studio Code
First few lines of Stack Trace:
{noformat}0x00007FFD84FA16C1 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\metadata.c:6064] mono_metadata_class_equal
0x00007FFD84FA2022 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\metadata.c:6197] do_mono_metadata_type_equal
0x00007FFD84FC890C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\mono-hash.c:122] mono_g_hash_table_find_slot
0x00007FFD85044F65 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\reflection.c:491] mono_type_get_object_checked
0x00007FFD84FDB4CE (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:2282] mono_class_create_runtime_vtable {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
- "Visual Effect Event Tester" Overlay is cut off when using the Scene View not in standard dimensions
- Visual Effect overlay has no tooltips for the playback controls
- Github link in the Rider tab of Preferences window has no padding on the left side and is not aligned with the other elements
- “Clear locked objects” button in the Info tab of the Physics Debugger window has no padding on the right side and has an extra space in between the words “locked” and “objects”
- Renaming the VFX Graph uses "Enter" for a new line and "Enter + Shift" to confirm instead of vice versa
Resolution Note:
We were unable to reproduce either the crash or the hang reported in this bug. After communicating with the user it seems likely that one of the plugins that is in use the project might be corrupting memory and leading to the crash. Please reopen the bug if you start experiencing this issue again.