Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4
2020.3
2021.1
2021.1.12f1
2021.2
2022.1
Issue ID
1345656
Regression
No
Crash with “* Assertion at metadata.c:1043, condition `index < meta->heap_strings.size' not met” when opening a project
Reproduction steps:
1. Open the user's attached project
Expected result: Project opens
Actual result: Unity crashes when opening the project
Reproducible with: 2019.4.28f1, 2020.3.13f1, 2021.1.14f1, 2021.2.0b2, 2022.1.0a1
Notes:
With 2021.2 and 2022.1:
- Assertion: should not be reached at custom-attrs.c:2461
Stack trace:
#0 0x007fff67ef733a in __pthread_kill
#1 0x007fff67e7e808 in abort
#2 0x0000013330e26b in mono_log_close_logfile
#3 0x0000013332145c in monoeg_g_logv
#4 0x000001333215d3 in monoeg_assertion_message
#5 0x0000013328e996 in mono_metadata_user_string
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (2022.1.X):
There is a corrupt dll in the user's project that is causing the crash. The Assets\Plugins\System.Windows.Forms.dll file contains a type with an invalid attribute that the runtime can not handle. Removing the System dlls that are in this directory will work around the problem.