Search Issue Tracker

Active

Votes

10

Found in

2022.3.33f1

Issue ID

UUM-73838

Regression

No

DirectX11 errors are thrown and Shader becomes broken when connecting the subgraph containing the Sample Texture2DArray node to BaseColor

--

-

How to reproduce:
1. Open the user-attached project “Terrain-HDRP”
2. Open the “New_Shader_Graph” ShaderGraph Asset
3. Make sure the “TextureSimpleSample2” subgraph node output is connected to the “Base Color” in Fragment node
4. Observe the Console

Expected results: No errors are thrown into the Console
Actual results: Multiple errors are thrown

Reproducible with: 2022.3.33f1, 6000.0.3f1
Not reproducible with: 2021.3.39f1, 6000.0.6f1
Fixed in: 6000.0.4f1

Reproducible on: Windows 11 Pro
Not reproducible on: No other environment tested

Note: Can’t find the regression point since other issues preventing the reproduction occur after importing the project to the older versions

Sample error:
Shader error in 'Shader Graphs/Master': syntax error: unexpected token '.' at /(2056) (on d3d11)

Compiling Subshader: 0, Pass: GBuffer, Fragment program with DECALS_4RT PROBE_VOLUMES_L1 _DISABLE_SSR_TRANSPARENT
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 DECALS_3RT DECALS_OFF DECAL_SURFACE_GRADIENT DIRLIGHTMAP_COMBINED DOTS_INSTANCING_ON DYNAMICLIGHTMAP_ON INSTANCING_ON LIGHTMAP_ON LIGHT_LAYERS PROBE_VOLUMES_L2 PROBE_VOLUMES_OFF SHADER_API_GLES30 SHADOWS_SHADOWMASK 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 _ADD_PRECOMPUTED_VELOCITY _DISABLE_DECALS _DISABLE_SSR _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_PLANE _REFRACTION_SPHERE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT _TRANSPARENT_WRITES_MOTION_VEC

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.