Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Open the Build Settings window (File > Build Settings)
4. Add Open Scenes
5. Build the project
Expected result: The project builds and there are no errors thrown
Actual result: The project fails to build and there are IL2CPP errors thrown
Reproducible with: 2022.3.37f1, 6000.0.11f1
Couldn’t test with: 2021.3.40f1 (due to Entities package being incompatible)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested