30-11-2023, 10:07 AM
(30-11-2023, 09:50 AM)josemendez Wrote: Hi,By removing Built in from the Active Target, I got another error like this:
Could reproduce this, and found a somewhat strange solution: remove "Built-in" from the shader's compilation targets list in ShaderGraph:
Now, why would having an unused render pipeline in the list of targets affect compilation for an entirely different pipeline is beyond me. Imho, this is a bug in ShaderGraph.
let me know whether this fixes it for you too.
kind regards,
Code:
Shader error in 'Shader Graphs/Master': Invalid conditional expression. at /UnityProjects/URP_Obi7/Library/PackageCache/com.unity.render-pipelines.universal@14.0.9/ShaderLibrary/Shadows.hlsl(284)
Thanks.