Search Issue Tracker

Fixed

Fixed in 2023.2.19f1, 6000.0.0b16

Votes

1

Found in

2023.2.15f1

6000.0.0b12

Issue ID

UUM-59543

Regression

Yes

"Hidden/Light2D" warnings are thrown after building 2D URP Template project

--

-

{*}Reproduction steps{*}:
* Create a new 2D (URP) project
* Build and Run the project
* Check the console

{*}Expected result{*}: No warnings or errors are thrown

{*}Actual result{*}: The following warnings are thrown:
{code:java}
Shader warning in 'Hidden/Light2D': 'multi_compile' : unknown pragma ignored at /home/bokken/build/output/unity/unity/build/libcache/Library/PackageCache/com.unity.render-pipelines.universal/Shaders/2D/Include/ShapeLightShared.hlsl(6) (on glcore)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_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: LIGHT_QUALITY_FAST 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 USE_ADDITIVE_BLENDING USE_NORMAL_MAP USE_POINT_LIGHT_COOKIES USE_SHAPE_LIGHT_TYPE_0 USE_SHAPE_LIGHT_TYPE_1 USE_SHAPE_LIGHT_TYPE_2 USE_SHAPE_LIGHT_TYPE_3 USE_VOLUMETRIC {code}

  1. Resolution Note (fix version 6000.0.0b16):

    Fixed in: 6000.0.0b16
    Verified on: Ubuntu 22

  2. Resolution Note (fix version 2023.2.19f1):

    Fixed in: 2023.2.19f1
    Verified on: Ubuntu 22

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.