Steps to reproduce:
- Open the attached project
- Switch to Web Build Profile
- Build and Run the Player
- Observe the built Player as well as developer tools console
Actual results: The player is rendered in solid black and a validation error is thrown
Expected results: Player build renders as in Editor and doesn't throw validation issues
Reproducible with versions: 6000.1.0a4, 6000.1.0b7, 6000.2.0a4
Can’t test with versions: 2022.3.58f1, 6000.0.38f1 (Web GPU not available), 6000.1.0a2, 6000.1.0a3 (Build process fails)
Reproducible on OS: Ubuntu 24.04
Not reproducible on OS: macOS 15.3, Windows 11
Browsers used: GoogleChrome 131.0.6778.204 (Official Build) (64-bit), FireFox 127.0.2 (64-bit)
Notes:
- Does not reproduce when Forward/Forward+ render paths are used
- Does reproduce with Deferred/Deferred+
- The project is using URP's Mobile Renderer
Full error:
- Validation: Total color attachment bytes per sample (37) exceeds maximum (32) with formats ([ TextureFormat::RGBA8UnormSrgb TextureFormat::RGBA8Unorm TextureFormat::RGBA16Float TextureFormat::RG11B10Ufloat TextureFormat::R32Float TextureFormat::R8Unorm ]). - While validating color attachment bytes per sample. - While encoding [CommandEncoder (unlabeled)].BeginRenderPass([null]). - While finishing [CommandEncoder (unlabeled)].