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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
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.