ShaderGraph icon indicating copy to clipboard operation
ShaderGraph copied to clipboard

Redefinition error when building

Open SavioMenifer opened this issue 1 year ago • 1 comments
trafficstars

I'm trying to use this shader target for a VR project using the built-in render pipeline. When I try to build, I'm getting this error.

Shader error in 'Shader Graphs/test': redefinition of 'UnityDisplayOrientationPreTransform' at Files/Unity/Hub/Editor/2022.3.20f1/Editor/Data/CGIncludes/HLSLSupport.cginc(972) (on vulkan)

I've tried creating a fresh project, and only importing Unity's Shader Graph and the package (v1.0.6) from the releases page of this repo, and creating a basic z3y lit shader graph. I still get the error.

What could be the reason?

SavioMenifer avatar Oct 29 '24 12:10 SavioMenifer

I never tested it on vulkan sorry, only gles3 and dx11

z3y avatar Oct 29 '24 12:10 z3y