Steps to reproduce:
1. Create new Unity project
2. Make sure to have macOS Server Module installed
3. Open Build Profiles window
4. Add macOS Server Platform
5. Switch to macOS Server Platform
6. Observe the Console window
Actual results: Shader warnings are spammed in the Console window after switching to macOS Server Platform
Expected results: No warnings are spammed in the Console window after switching to macOS Server Platform
Reproducible with versions: 6000.4.0f1 (107f2798865e), 6000.4.1f1, 6000.5.0b1, 6000.6.0a1
Not reproducible with versions: 6000.3.12f1, 6000.4.0b12 (39305bc12a35)
Tested on (OS): macOS Silicon Tahoe 26.3.1 (a) (M1)
Warnings:
- Shader warning in 'ProbeIntegrationOcclusion': use of potentially uninitialized variable (SampleRectangularLight) at kernel MainRayGenShader at (277)/Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/PathTracing/Shaders/LightSampling.hlsl(253) (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 (277)/Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/Lighting/SurfaceCache/IrradianceCompression.hlsl(30) (on metal)
- Shader warning in 'ScreenResolveUpsampling': array reference cannot be used as an l-value; not natively addressable, forcing loop to unroll at kernel Upsample at (277)/Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/Lighting/SurfaceCache/IrradianceCompression.hlsl(30) (on metal)
- Shader warning in 'PathIteratorTest': use of potentially uninitialized variable (SampleRectangularLight) at kernel MainRayGenShader at (277)/Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/PathTracing/Shaders/LightSampling.hlsl(253) (on metal)
- Shader warning in 'LightmapValidityIntegration': use of potentially uninitialized variable (GetExpandedSample) at kernel MainRayGenShader at (277)/Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/PathTracing/Shaders/LightmapIntegrationHelpers.hlsl(23) (on metal)
- Shader warning in 'LightmapGBufferDebug': use of potentially uninitialized variable (GetExpandedSample) at kernel MainRayGenShader at (277)/Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/PathTracing/Shaders/LightmapIntegrationHelpers.hlsl(50) (on metal)
- Shader warning in 'LiveGI': use of potentially uninitialized variable (GetRectangularLightEmission) at kernel MainRayGenShader at (277)/Library/PackageCache/com.unity.render-pipelines.core@428e2b5ccb19/Runtime/PathTracing/Shaders/LightSampling.hlsl(692) (on metal)