VergilUa/SpeedTreev6HDRP_ASE_Port

ShaderGraphHeader.hlsl

Opened this issue · 2 comments

Hi, I try to import the code in Unity 2019.4.25f1 with HDRP
and the shader bring error that can't find the "ShaderGraphHeader.hlsl" in the package
try googling it but no solution

regards

pseudocolor

Hi, ShaderGraphHeader.hlsl is part of HDRP.
If it cannot find at path:
Packages/High Definition RP/Runtime/ShaderLibrary/ShaderGraphHeader.hlsl
then either path or package / file location is different. Check if its actually there via Project View.

If its there - try restarting Unity, or reimporting package.

Alternatively, if you have Amplify Shader Editor with HDRP templates installed, you can try to re-save the shader.
That should fix path related issues, in case if something got moved in more recent HDRP versions.

Ok going to check it out, thanks