Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X, 6000.5.X

Fixed in 6000.5.0a5

Votes

1

Found in

6000.0.41f1

6000.3.0b4

6000.4.0a1

6000.5.0a1

Issue ID

UUM-99060

Regression

Yes

'Shader warning in 'Hidden/HDRP/DebugFullScreen': HLSLcc: Large chunk of constant data detected' after building HDRP project

SRP Templates

-

Steps to reproduce:

  1.  Create a new project using High 3D Template
  2. Switch Platform to Window Platform
  3.  Build the project
  4. Observe the Console window

\\
Actual results: "Shader warning in 'Hidden/HDRP/DebugFullScreen': HLSLcc: Large chunk of constant data detected. GLSL and Vulkan might have trouble handling this. Please consider putting large constant data arrays into a separate buffer resource instead. (on vulkan)"

Expected results: There are no warnings/errors in the Console

\\
Reproducible with versions: 2023.3.0a17, 6000.0.41f1, 6000.1.0b8

Not reproducible with versions: 2022.3.59f1, 2023.3.0a16

\\
Reproducible on (OS): Ubuntu 24.04
Not Reproducible on (OS): macOS

Full warnings:

{code:java}
Shader warning in 'Hidden/HDRP/DebugFullScreen': HLSLcc: Large chunk of constant data detected. GLSL and Vulkan might have trouble handling this. Please consider putting large constant data arrays into a separate buffer resource instead. (on vulkan)
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_PBS_USE_BRDF1 UNITY_PLATFORM_SUPPORTS_DEPTH_FETCH 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_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
{code}

  1. Resolution Note (fix version 6000.5.0a5):

    Fixed in 6000.5.0a5

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.