How to reproduce:
1. Open the attached “IN-148798” project
2. Ensure “CoreCLR” or “IL2CPP” are selected as the scripting backend (Edit > Project Settings > Player > Scripting Backend)
3. Navigate to File > Build and run
4. Observe the crash
Reproducible with: 6000.6.1f1, 6000.7.0a6
Could not test with: 6000.0.83f1, 6000.3.24f1 (could not build due to errors from downgrading)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- It is best to re-extract the project for each test
- Deleting this line from Entities ”TypeManager.cs:3023 var end = Time.unscaledTime;” stops the crash
First few lines of stacktrace
0x00007FF8A36F58FF (UnityPlayer) (function-name not available)
0x00007FF8A098B721 (GameAssembly) mono_type_size
0x00007FF8A0E41615 (GameAssembly) mono_type_size
0x00007FF89F47D5FD (GameAssembly) il2cpp_runtime_class_init