Search Issue Tracker

In Progress

In Progress in 6000.6.X

Votes

0

Found in

6000.5.0a9

6000.6.0a1

Issue ID

UUM-137243

Regression

Yes

Various Shader warnings are thrown when changing the "Shaper Precision model"

Shader System

-

How to reproduce:
1. Create a new Unity project
2. Go to Edit -> Project Settings -> Player -> Other Settings -> Shader Settings
3. Change the "Shader Precision Mode" to "Unified"/"Platform Default" and observe the Console

Expected results: No warnings are thrown
Actual results: Multiple Shader warnings are thrown

Reproducible with: 6000.4.1f1, 6000.5.0a9, 6000.6.0a1
Not reproducible on: 6000.0.70f1, 6000.3.11f1, 6000.4.0b11, 6000.5.0a8

Reproducible on: macOS Tahoe 26 (M1), Windows 11
Not reproducible on: No other environment tested

Notes:
- In 6000.5.0a8 and older versions changing the "Shader Precision Mode" to "Unified", but changing it "Platform Default" doesn't throw any warnings
- For all warnings to be shown, all background tasks should be finished
- Issue is also reproducible on Windows after adding Vulkan Graphics API for Windows

Warnings samples:
- Shader warning in 'LiveGI': use of potentially uninitialized variable 
- Shader warning in 'LightmapShadowMaskIntegration': use of potentially uninitialized variable 
- Shader warning in 'TraceTransparentRays': use of potentially uninitialized variable
- Shader warning in 'LightmapGBufferIntegration': use of potentially uninitialized variable 
- Shader warning in 'ProbeIntegrationIndirect': use of potentially uninitialized variable
- Shader warning in 'PathIteratorTest': use of potentially uninitialized variable (

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.