Search Issue Tracker

In Progress

Fix In Review for 6000.0.X

Votes

0

Found in

6000.0.20f1

6000.1.0a7

Issue ID

UUM-81586

Regression

No

Shader warnings are thrown after building High Definition 3D template

--

-

*Steps to reproduce:*
1. Create a new project using High Definition 3D Template
2. Build and Run the project

*Actual results:* "Shader warning in 'HDRP/Lit'..." and "Shader warning in 'Hidden/Core/ProbeVolumeOffsetDebug'..." warnings are thrown in the Console

*Expected results:* No warnings or errors are thrown

*Reproducible with versions:* 6000.0.20f1, 6000.0.24f1

*Tested on (OS):* macOS Sonoma 14.5 (Intel), Ubuntu 20.04

*Notes:*
- Warning is clearable after build
- Full warnings:
"Shader warning in 'HDRP/Lit': Ignoring duplicate keyword line 'shader_feature_fragment _DISABLE_SSR'"

"Shader warning in 'Hidden/Core/ProbeVolumeOffsetDebug': use of potentially uninitialized variable (o) at (35)/Library/PackageCache/com.unity.render-pipelines.core/Runtime/Debug/ProbeVolumeDebugBase.hlsl(272) (on metal)

Compiling Subshader: 0, Pass: ForwardOnly, Vertex program with <no keywords>
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_NEEDS_RENDERPASS_FBFETCH_FALLBACK UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: INSTANCING_ON SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_VIRTUAL_TEXTURING"

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.