Search Issue Tracker
In Progress
Fixed in 6000.0.20f1
Votes
9
Found in
6000.0.11f1
7000.0.0a1
Issue ID
UUM-76172
Regression
Yes
Error is thrown when Shader Graph Material is changed to "Decal"
*How to reproduce:*
1. Open the attached project "ShaderGraphET"
2. Open the "New Shader Graph" Shader Graph
3. In the Graph Inspector Graph Settings change Material to "Decal"
4. Observe the Console
*Expected results:* No errors are thrown
*Actual results:* "Shader error in 'Shader Graphs/Master': undeclared identifier 'RemapFoveatedRenderingNonUniformToLinearCS'" error is thrown to the Console
*Reproducible with:* 6000.0.9f1, 6000.0.11f1
*Not reproducible with:* 2021.3.40f1, 2022.3.38f1, 6000.0.8f1
*Reproducible on:* macOS 14.5 Sonoma (M1)
*Not reproducible on:* No other environment tested
Full error:
Shader error in 'Shader Graphs/Master': undeclared identifier 'RemapFoveatedRenderingNonUniformToLinearCS' at copy/Library/PackageCache/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPassDecal.hlsl(256) (on metal)
Compiling Subshader: 0, Pass: DecalScreenSpaceMesh, Vertex program with _DECAL_NORMAL_BLEND_LOW _FORWARD_PLUS _MAIN_LIGHT_SHADOWS
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: DIRLIGHTMAP_COMBINED DOTS_INSTANCING_ON DYNAMICLIGHTMAP_ON FOG_EXP FOG_EXP2 FOG_LINEAR INSTANCING_ON LIGHTMAP_ON LIGHTMAP_SHADOW_MIXING PROBE_VOLUMES_L1 PROBE_VOLUMES_L2 SHADER_API_GLES30 SHADOWS_SHADOWMASK 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 USE_LEGACY_LIGHTMAPS _ADDITIONAL_LIGHTS _ADDITIONAL_LIGHTS_VERTEX _DECAL_LAYERS _DECAL_NORMAL_BLEND_HIGH _DECAL_NORMAL_BLEND_MEDIUM _MAIN_LIGHT_SHADOWS_CASCADE _MAIN_LIGHT_SHADOWS_SCREEN
-
WorksInDev
Oct 02, 2024 17:06
Found on 2022.3.48f when using Forward+ renderer and using ShaderGraph/Decal shader with Material
-
mpoul
Aug 22, 2024 06:29
Hi, I have the same error in 2022.3.40,
when using Forward+ renderer and using ShaderGraph/Decal shader with Material -
NamNH1990
Jul 31, 2024 08:35
Also occured in 6000.0.12f1 (on macos Sonoma m2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note (fix version 6000.0.20f1):
Fixed Shader Graph undeclared identifier error around foveated rendering area.