Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

HD Pipeline woes

Discussion in 'Graphics Experimental Previews' started by pointcache, Apr 9, 2018.

  1. pointcache

    pointcache

    Joined:
    Sep 22, 2012
    Posts:
    577
    Unity 2018b12, run as admin
    Install core pipe
    Install hd pipe

    Click


    get

    UnauthorizedAccessException: Access to the path "C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.render-pipelines.high-definition@1.1.2-preview\HDRP\Material\GGXConvolution\GGXConvolution.cs.hlsl" is denied.
    System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:320)
    System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share)
    (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamWriter.cs:124)
    System.IO.StreamWriter..ctor (System.String path, Boolean append)
    (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
    System.IO.File.CreateText (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:159)
    UnityEditor.Experimental.Rendering.CSharpToHLSL.GenerateAll () (at C:/ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.2-preview/CoreRP/Editor/ShaderGenerator/CSharpToHLSL.cs:101)
    UnityEditor.Experimental.Rendering.ShaderGeneratorMenu.GenerateShaderIncludes () (at C:/ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.2-preview/CoreRP/Editor/ShaderGenerator/ShaderGeneratorMenu.cs:10)


    Click - upgrade materials to HD >


    Render pipeline is non existent in the project


    What am i doing wrong?
     
  2. Grimreaper358

    Grimreaper358

    Joined:
    Apr 8, 2013
    Posts:
    789
  3. pointcache

    pointcache

    Joined:
    Sep 22, 2012
    Posts:
    577
    Ok thanks, i did that and everything went pink, started upgrading materials, some of them were fixed, however im still getting this error that stops upgrade process in the tracks
     
  4. Grimreaper358

    Grimreaper358

    Joined:
    Apr 8, 2013
    Posts:
    789
    Not sure about that error but it will only update materials that used the Standard Shader (Or other default Unity shaders) to the new Standard Shader of the Pipeline you are using. Custom shaders/materials with custom shaders will have to be updated manually.