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
- "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
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.