Search Unity

URP, access modifier of the PostProcessPass class

Discussion in 'General Graphics' started by viruseg, May 10, 2022.

  1. viruseg

    viruseg

    Joined:
    Jul 8, 2017
    Posts:
    23
  2. viruseg

    viruseg

    Joined:
    Jul 8, 2017
    Posts:
    23
    Does anyone from Unity read this forum? I created a bug report with the same question. And asked the question here. I don't know where to go anymore. This change in the URP makes three years of work on the asset completely useless. Help.
     
  3. calinpavel

    calinpavel

    Joined:
    Sep 10, 2021
    Posts:
    10
    Hello, did you solved it? On my side, PostProcessPasses is now an internal namespace and I don't have any other option to use that struct anymore (URP version 12.1.7).
     
  4. viruseg

    viruseg

    Joined:
    Jul 8, 2017
    Posts:
    23
    Make a copy of PostProcessPasses. This is the easiest way to solve the problem for URP 12.1.

    For URP 14.0.2 and higher, you will have to use reflection to create the PostProcessPass instance.