Search Unity

Post Processing 2.1 Error

Discussion in 'Cinemachine' started by nathanjams, Nov 27, 2018.

  1. nathanjams

    nathanjams

    Joined:
    Jul 27, 2016
    Posts:
    304
    Hey,

    Not sure where to post this.

    Just installed the new Post Processing Stack 2.1 but got this error:

    Assets/CinemachinePostProcessingV2/Editor/CinemachinePostProcessingEditor.cs(141,29): error CS0122: `UnityEditor.Rendering.PostProcessing.ProfileFactory' is inaccessible due to its protection level

    Reverting to 2.0.17 fixed the issue.

    Nathan
     
  2. legione

    legione

    Joined:
    Nov 8, 2018
    Posts:
    1
    Last edited: Nov 27, 2018
  3. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,719
    Yes it was a regression. Try upgrading PP to 2.0.20.
     
  4. Glowing_Slab

    Glowing_Slab

    Joined:
    Jun 19, 2015
    Posts:
    43
    Ah, found this thread now... I thought I couldn't be the only person with this issue.
     
  5. Flurgle

    Flurgle

    Joined:
    May 16, 2016
    Posts:
    389
    Edit: Got it working. In, Unity 2019a10, 2.0.17-preview works, but had to remove Post Processing Layer, then add again to get rid of errors below.

    @Gregoryl This (2.0.20) didn't seem to work with Unity 2019.1a10 (using alpha for some of the timeline features). Got the same ProfileFactory error.
    Did I do it right? I downloaded 2.0.20 from github, as it's not available from the package manager, then used the import from disk feature at the bottom of the package manager, and selected the manifest file. The error still showed, after loading cinemachine post processing extension


    2.0.17-preview fixed the profile factory error but gave this error (Unfortunately making the camera black):
    upload_2018-11-27_22-55-39.png
     
    Last edited: Nov 28, 2018
  6. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,719
    @Flurgle you're right, the fix didn't make it in. You'll have to use 2.0.17 until 2.0.21 is released.