Search Issue Tracker
Fixed in 2021.3.8f1
Fixed in 2021.3.X, 2022.1.X, 2022.2.X, 2022.2.0a13
Votes
0
Found in
2021.3.7f1
2022.1.13f1
2022.2.0a12
Issue ID
UUM-60083
Regression
No
Crash on mono_class_get_flags when running various Unity processes
A recurring crash issue has been identified in Unity, affecting various workflows. Users have experienced crashes during project opening, closing, or building, asset importing, and periods of prolonged inactivity. The issue also manifests in operations like running projects in Play Mode or stopping it, working on animations, switching build settings, and so on. After a review of all relevant bug reports in our database, it has been concluded that this issue has been successfully resolved and no longer reproduces in active streams.
Reproducible with: 2021.3.7f1, 2022.1.3f1, 2022.2.0a12
Fixed in: 2021.3.8f1, 2022.1.4f1, 2022.2.0a13
Reproduced on: Windows 10, Windows 11 (by reporters)
Not reproducible on: No other environment tested
Notes:
1. The common denominator in these reports is an assertion failure error logged as
"* Assertion: should not be reached at C:\build\output\Unity-Technologies\mono\mono\metadata\class-accessors.c:86"
2. The determination of the 'Fixed in' versions was made based on an analysis of the last known versions that were affected by the issue
First few lines of the stack trace:
0x00007FFC4C53567C (KERNELBASE) RaiseException
0x00007FFBAA2A064C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FFBAA28C4A2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FFBAA28C57C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:215] monoeg_assertion_message
0x00007FFBAA28C5E6 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:239] mono_assertion_message_unreachable
0x00007FFBAA2FE826 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\class-accessors.c:86] mono_class_get_flags
0x00007FFBAA2F4195 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\class-init.c:253] mono_class_setup_fields
0x00007FFBAA2F8852 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\class-init.c:1768] init_sizes_with_info
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment