Post Processing Volume

I’m trying to create a script to edit the post processing effects when you change between the set graphics modes. However, when I go into the editor too assign the volume it doesn’t allow me to assign it in the Volume slot. Why is this?

Here is the relevant code:
175675-1.png

175676-2.png

You should be using PostProcessVolume instead of volume. For example:

using UnityEngine;
using UnityEngine.Rendering.PostProcessing;

public class Effects : MonoBehaviour
{
    public PostProcessVolume volume;
}

Make sure you’re using UnityEngine.Rendering.PostProcessing. This works for me in the standard unity template, in Unity 2020, with the new PPStack. @Axel_Blaze