Search Issue Tracker
Active
Under Consideration for 6000.5.X, 6000.6.X
Votes
0
Found in
6000.5.0a7
6000.6.0a1
Issue ID
UUM-134633
Regression
Yes
“Shader warning in 'Hidden/Universal Render Pipeline/CopyDepth’…” warning is thrown after building a project
Reproduction steps:
1. Create a new project
2. Build And Run
3. Observe the Console
Actual result: “Shader warning in 'Hidden/Universal Render Pipeline/CopyDepth': implicit truncation of vector type at (887)/Library/PackageCache/com.unity.render-pipelines.universal@c71f22dd80bd/Shaders/Utils/CopyDepthPass.hlsl(47) (on metal)” warning is thrown
Expected result: No warnings or errors are thrown
Reproducible with: 6000.5.0a7
Not reproducible with: 6000.0.68f1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a6
Reproduced on: Windows 11, macOS Sequoia 26.2 (M4)
Note:
Full warning:
{code:java}
Shader warning in 'Hidden/Universal Render Pipeline/CopyDepth': implicit truncation of vector type at (887)/Library/PackageCache/com.unity.render-pipelines.universal@c71f22dd80bd/Shaders/Utils/CopyDepthPass.hlsl(47) (on metal)Compiling Subshader: 0, Pass: CopyDepth, Fragment 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: SHADER_API_GLES30 SHADER_API_GLES31 SHADER_API_GLES32 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 _DEPTH_MSAA_2 _DEPTH_MSAA_4 _DEPTH_MSAA_8 _OUTPUT_DEPTH
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
Add comment