Reproduction steps:
1. Open any new project
2. Enable CoreCLR Scripting Backend (Edit -> Project Settings → Player -> Scripting Backend → CoreCLR (Experimental))
3. Set Managed Stripping Level to Low (Edit -> Project Settings → Player → Managed Stripping Level -> Low)
4. Build and run the project for Windows x64 target
5. Observe the Player and Player.log file
Actual result: After launching the Player, the screen remains black; MissingMethodException and InvalidOperationException errors are logged in the Player.log file
Expected result: Build launches successfully and no errors are logged in the Player.log file
Reproducible with: 6000.7.0a2
Could not test with: 6000.0.80f1, 6000.3.20f1, 5000.5.5f1, 6000.6.0b5, 6000.7.0a1, 6000.7.0a3 (No Windows Build Support for CoreCLR)
Reproduced on: Windows 11
Not reproduced on: No other environments tested
Notes:
- Errors that are logged in the Player.log file:
MissingMethodException: Cannot dynamically create an instance of type 'UnityEngine.Rendering.DebugDisplayGPUResidentDrawer'. Reason: No parameterless constructor defined
InvalidOperationException: Type UnityEngine.Rendering.Universal.UniversalCameraData has already been created.
- Issue does not reproduce with stripping level set to “Disabled” or “Minimal”
- When stripping level is set to "High" Player crashes at "Initialized ClrProfiler"