z3y / ShaderGraph

Shader Graph target for the Unity built-in pipeline
MIT License
83 stars 2 forks source link

Redefinition error when building #10

Open SavioMenifer opened 3 weeks ago

SavioMenifer commented 3 weeks ago

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?

z3y commented 3 weeks ago

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