Reproduction steps:
1. Open the attached “repro-project“
2. Click "Ignore" at the prompt to enter safe mode - the project does not crash in safe mode
Expected result: The project opens successfully
Actual result: The Editor crashes
Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5
Reproduced on: Windows 10 Pro
Not reproducible on: No other environment tested
First few lines of the stack trace:
0x00007ffd8b25e807 (mono-2.0-bdwgc) mono_object_get_virtual_method (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:2959)
0x00007ff7721d1c0c (Unity) scripting_object_get_virtual_method
0x00007ff77223005a (Unity) EmitInvokeInterfaceMethodCommandIfRequired
0x00007ff77222ef85 (Unity) BuildSerializationCommandQueueFor
0x00007ff7721d7511 (Unity) EmitSerializationCommandsForManagedObjectField