Is this a package manager thing? Or a problem with the packages? I'm using 2019.1 and I am using the HDRP template and added the Shader Graph package. Out of the box I'm getting this error: And with ShaderGraph, I have more than a dozen of these:
Hi @Sun-Dog, This looks like it might be a problem with path length limitation on Windows. How long is the path of the project, including the project name?
Actually looking at the error message in details, it looks like the path in the package contains an extraneous "Runtime". There's no "Runtime/Runtime/RenderPipelineResources/defaultDiffusionProfile.asset" inside the package because there's no "Runtime/Runtime" subdirectory. I'm not sure if the ShaderGraph errors are related to long paths, or simply that the version of HDRP present does not match the ShaderGraph requirement. What version of HDRP is loaded when you look in the Editor.log?
I'll bring it up and look. I downgraded to 2018.3 and I'm getting: and The names of the projects are "Shader Test" and "Shader III", so they are not that long.
Ok. Created a brand new 2019.1f1 project. Called it TestShade (Short, no spaces) --> Turned OFF analytics in the hub. The only warnings I'm getting on a base project is: and HDRP version in the Package Manager is listed as 5.7.2 with the request to update to 5.13.0, which I have not done.
Installed Shader Graph, which is listed in the Package Manager as 5.7.2 (2019.1 verified) and there were no more warnings or errors.
At this stage I will NOT update the HDRP to 5.13.0, as I need to get some work done. If this does cause an issue, I'll revisit this.