Search Issue Tracker
Fixed in 12.x.x
Votes
0
Found in [Package]
12.0.0
Issue ID
1360406
Regression
Yes
[HDRP][Metal] Shader warnings of potentially uninitialized variable (chunkIndex) appear during shader compilation
How to reproduce:
1. Create new HDRP template project
2. Let the project load and wait for shaders to start compiling
3. Observe console
Warning:
Shader warning in 'VolumetricLighting': use of potentially uninitialized variable (chunkIndex) use of potentially uninitialized variable (stepSize) use of potentially uninitialized variable (minRelativeIdx) use of potentially uninitialized variable (maxRelativeIdx) at kernel VolumetricLighting at (48)/Library/PackageCache/com.unity.render-pipelines.core@12.0.0/Runtime/Lighting/ProbeVolume/ProbeVolume.hlsl(105) (on metal)
Reproduced with: 2022.1.0a6
Does not reproduce with: 2022.1.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment