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
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
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.