Search Issue Tracker

Active

Under Consideration for 2021.3.X, 6000.0.X, 6000.1.X

Votes

0

Found in

2021.3.45f1

6000.0.22f1

6000.0.23f1

6000.1.0a7

Issue ID

UUM-83878

Regression

No

Shader warning in 'HDRP/Lit': 'PUNCTUAL_SHADOW_LOW' is 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': 'PUNCTUAL_SHADOW_LOW': macro redefinition. Previous definition found at Packages/com.unity.render-pipelines.high-definition/Runtime/Material/Lit/Lit.shader:14. at /home/ubuntu20-automation/Projects/HighDef3D/Library/PackageCache/com.unity.render-pipelines.high-definition@e4c6a936a4e8/Runtime/Lighting/Shadow/HDShadowAlgorithms.hlsl(9)" is thrown in the Console Window

*Expected results:* No errors or warnings are thrown in the console

*Reproducible with versions:* 2021.3.45f1, 6000.0.22f1, 6000.0.23f1

*Tested on (OS):* Ubuntu 20.4

*Notes:* Warnings are clearable after Building
* On 2021.3.45f1 and 6000.0.25f1 additional warning is thrown:

{code:java}
Shader warning in 'HDRP/Lit': 'USE_FPTL_LIGHTLIST': macro redefinition. Previous definition found at :15. at line 879
Compiling Subshader: 0, Pass: Forward, Vertex program with DECALS_OFF PROBE_VOLUMES_OFF SCREEN_SPACE_SHADOWS_OFF SHADOW_LOW USE_FPTL_LIGHTLIST
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_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: DEBUG_DISPLAY DIRLIGHTMAP_COMBINED DOTS_INSTANCING_ON DYNAMICLIGHTMAP_ON INSTANCING_ON LIGHTMAP_ON LOD_FADE_CROSSFADE SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS 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 _ADD_PRECOMPUTED_VELOCITY _ALPHATEST_ON _ALPHATOMASK_ON _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _DOUBLESIDED_ON _HEIGHTMAP _MAPPING_PLANAR _MAPPING_TRIPLANAR _NORMALMAP _PIXEL_DISPLACEMENT _REQUIRE_UV2 _REQUIRE_UV3 _SURFACE_TYPE_TRANSPARENT _TRANSPARENT_WRITES_MOTION_VEC _VERTEX_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
{code}

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.