Steps to reproduce:
- Open the attached “IN-148058” project
- Go to File > Build Profile
- Select Windows from the Platforms list and click Build
- Observe the Console
Actual result: The Windows IL2CPP build fails with the error: “IL2CPP error for method System.ReadOnlySpan<T>.Enumerator::get_Current() in Yarn.System.Memory.dll.”
Expected result: The Windows IL2CPP build completes successfully without errors
Reproducible with: 6000.3.21f1, 6000.5.7f1, 6000.6.0b7, 6000.7.0a4
Could not test with: 6000.0.0f1, 6000.0.81f1, 6000.3.0a1 (The project files got corrupted)
Reproducible on: Windows 11
Not reproducible on: No other environments tested