Steps to reproduce:
1. Create new Unity project
2. Open Build Profiles window and add macOS and Web Platforms
3. When added, switch to Web Platform
4. Switch back to macOS Platform
5. Observe the Console window
Actual results: switching back to macOS Platform causes warnings in the Console window:
“Shader warning in 'GTAO': use of potentially uninitialized variable (ShouldSkipAO) at kernel GTAOCompute at (800)/Library/PackageCache/com.unity.render-pipelines.universal@76bc12725446/ShaderLibrary/SSAOCommon.hlsl(173) (on metal)”,
“Shader warning in 'PatchAllocation': array reference cannot be used as an l-value; not natively addressable, forcing loop to unroll at kernel Allocate at (800)/Library/PackageCache/com.unity.render-pipelines.core@34c3f1eeecf9/Runtime/Lighting/SurfaceCache/IrradianceCompression.hlsl(30) (on metal)”
Expected results: No warnings are thrown in the Console after switching aback to macOS Platform
Reproducible with versions: 6000.6.0a5 (e220e6931c38)
Not reproducible with versions: 6000.5.0b8, 6000.6.0a4 (77e2e2eea1be)
Tested on (OS): macOS Silicon Tahoe 26.4.1