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

Mono

-

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

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.