Search Issue Tracker

Fixed

Fixed in 2022.3.54f1, 6000.0.29f1, 6000.1.0a6

Votes

0

Found in

2022.3.44f1

6000.0.37f1

7000.0.0a1

Issue ID

UUM-78961

Regression

Yes

Crash on mono_class_setup_basic_field_info when opening a project

-

Reproduction steps:
1. Open the attached “BugRepro” project with “-buildTarget Android -releaseCodeOptimization” arguments

Expected results: The project is opened
Actual results: Editor crashes

Reproduced with: 2022.3.11f1, 2022.3.44f1
Not reproduced with: 2022.3.10f1
Couldn’t test with: 2021.3.43f1, 6000.0.16f1 (Upgrading/downgrading project’s packages may cause the issue to not appear, so it is not clear if the issue is present here)

Reproduced on: Windows 10 Pro
Not reproduced on: Ubuntu 22.04

First lines of the stack trace:
0x00007ffdf3d87b5e (mono-2.0-bdwgc) mono_class_setup_basic_field_info (at C:/build/output/Unity-Technologies/mono/mono/metadata/class-init.c:208)
0x00007ffdf3d87ce2 (mono-2.0-bdwgc) mono_class_setup_fields (at C:/build/output/Unity-Technologies/mono/mono/metadata/class-init.c:277)
0x00007ffdf3d8c312 (mono-2.0-bdwgc) init_sizes_with_info (at C:/build/output/Unity-Technologies/mono/mono/metadata/class-init.c:1770)
0x00007ffdf3d8ec13 (mono-2.0-bdwgc) mono_class_init_internal (at C:/build/output/Unity-Technologies/mono/mono/metadata/class-init.c:2837)
0x00007ffdf3d841c3 (mono-2.0-bdwgc) mono_class_get_interfaces (at C:/build/output/Unity-Technologies/mono/mono/metadata/class.c:5192)

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.