Search Issue Tracker
Fixed
Fixed in 2022.3.59f1
Votes
0
Found in
2022.3.51f1
Issue ID
UUM-84784
Regression
Yes
"Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project
*Steps to reproduce:*
1. Create a new project with Cinematic Studio Sample or High Definition 3D Sample templates
2. Build And Run
3. Observe the Console
*Actual results:* "Shader warning in 'Hidden/HDRP/DownsampleDepth': implicit truncation of vector type at Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/DownsampleDepth.shader(81) (on metal)" warnings are thrown
*Expected results:* No errors or warnings are thrown
NOTE:
selecting DownsampleDepth.shader in the project with hdrp, if you do "compile and show code" for d3d - same warning are generated (so the only difference is perhaps that xr path with texture arrays is not active by default on d3d or something along the lines). This is something in hlsl code being fed to fxc
*Reproducible with versions:* 2022.3.491, 2022.3.53f1
*Not reproducible with versions:* 2021.3.45f1, 2022.3.48f1, 6000.0.23f1{*}{{*}}
*Tested on (OS):* macOS Sonoma 14.5 (Intel)
*Note:*
Full warning:
{code:java}
Shader warning in 'Hidden/HDRP/DownsampleDepth': implicit truncation of vector type at Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/DownsampleDepth.shader(81) (on metal)
Compiling Subshader: 0, Pass: <Unnamed Pass 0>, Vertex program with <no keywords>
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS 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: SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS 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_FULL_STANDARD_SHADER 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
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
Add comment