How to reproduce:
1. Open the user’s attached “IL2CPPError-2022.2.zip” project
2. Make sure Scripting Backend is set to “IL2CPP” (Edit > Project Settings… > Player > Other Settings)
3. Build the “SampleScene” Scene
Expected results: The build is successful
Actual results: The build fails with “Fatal error in Unity CIL Linker” error
Reproducible with: 2022.2.0a16, 2022.2.0b7, 2023.1.0a9
Not reproducible with: 2021.3.9f1, 2022.2.0a15
Could not test with: 2020.3.39f1 because of the “the dll is not allowed to be included or could not be found.” error
Reproduced on:
Windows 10
Note:
- The issue is not reproducible when using Mono Scripting Backend
- The issue has been reproduced with Standalone and Android Platform