Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3
2019.4
2019.4.4f1
2020.1
2020.2
Issue ID
1263935
Regression
No
Crash on "Begin MonoManager ReloadAssembly" when opening a specific project
Reproduction steps:
1. Open the project attached by the user
Reproducible with: 2018.4.25f1, 2019.3.16f1, 2019.4.5f1, 2020.1.0f1, 2020.2.0a18
First lines of the stacktraces:
On Windows:
0x00007FF9DEA39709 (KERNELBASE) RaiseException
0x00007FF975CB6025 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\utils\mono-log-common.c:142] mono_log_write_logfile
0x00007FF975CA4CC3 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\eglib\goutput.c:141] monoeg_assertion_message
0x00007FF975D35FAC (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\metadata.c:1044] mono_metadata_string_heap
0x00007FF975D0CBF1 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\image.c:1065] mono_image_load_names
0x00007FF975D0A51C (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\image.c:1336] do_mono_image_load
On OSX:
#0 0x007fff6998133a in __pthread_kill
#1 0x007fff69908808 in abort
#2 0x00000134c0e333 in mono_log_close_logfile
#3 0x00000134c21530 in monoeg_g_logv
#4 0x00000134c216a7 in monoeg_assertion_message
#5 0x00000134b8ed3e in mono_metadata_user_string
Notes:
- Right before the crash this assertion failure can be found in the logs:
Begin MonoManager ReloadAssembly
* Assertion at ..\mono\metadata\metadata.c:1043, condition `index < meta->heap_strings.size' not met
- Through case 984745, this should be a dupe of 1035692, but still seems reproducible with this project
- Deleting the Library folder or everything but the Assets folder doesn't help
- Usually silent crashes on Windows and gracefully crashes on OSX
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
- Crash on "The GUID inside 'Assets/asset.png.meta' cannot be extracted by the YAML Parser." when opening the project
- Shadows disappear when looking at a certain angle in Scene view and using Cloud Shadows with Volumetric Clouds
- StackOverflowException freezes or silently crashes the Editor
- Microsoft Surface Device freezes when detaching and reattaching physical keyboard attachment to a Microsoft Surface device in Standalone Player for Windows
- Shadows are cast with artifacts on GameObjects when the light type is set to Point
Resolution Note:
Found the problem, the project had in the Assets folder, and obj->Debug folder with Assembly-CSharp.dll files from previous builds of the project. That will obviously corrupt the project and crash Unity. Fix is to delete that folder and project should load fine.