Search Unity

Package install errors?

Discussion in 'Package Manager' started by Sun-Dog, May 7, 2019.

  1. Sun-Dog

    Sun-Dog

    Joined:
    Mar 23, 2009
    Posts:
    142
    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:
     
  2. Sun-Dog

    Sun-Dog

    Joined:
    Mar 23, 2009
    Posts:
    142
  3. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    144
    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?
     
  4. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    144
    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?
     
  5. Sun-Dog

    Sun-Dog

    Joined:
    Mar 23, 2009
    Posts:
    142
    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.
     
  6. Sun-Dog

    Sun-Dog

    Joined:
    Mar 23, 2009
    Posts:
    142
    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.
     
  7. Sun-Dog

    Sun-Dog

    Joined:
    Mar 23, 2009
    Posts:
    142
    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.
     
    maximeb_unity likes this.
  8. Sun-Dog

    Sun-Dog

    Joined:
    Mar 23, 2009
    Posts:
    142
    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.
     
    maximeb_unity likes this.