How to reproduce:
- Open the attached "IN-150170" project
- Locate Edit > Project Settings > Player > Other Settings > Configuration
- Set “Scripting Backend” to "IL2CPP"
- Open File > Build Profiles
- Switch platform to Windows
- Press “Build”
- Wait for 30-200 seconds
- Observe the Console
Actual result: Build fails during C++ compilation with "error C2664: ‘void il2cpp_codegen_runtime….'
Expected result: Player build succeeds
Reproducible with: 6000.5.0a2, 6000.6.4f1, 6000.7.0b3, 7000.0.0a1
Not reproducible with: 6000.0.0f1, 6000.0.85f1, 6000.3.25f1, 6000.5.0a1
Reproducible on: Windows 11 (25H2)
Not reproducible on: No other environments tested