URP Post-Proccess profile bug

Hi Unity Team!
I try to change some variables in profile in runtime, but it also change profile asset. I use this code:

ColorAdjustments colorAdj = null;

bool isFound = Camera.main.GetComponent<Volume>().profile.TryGet<ColorAdjustments>(out colorAdj);
if (isFound) colorAdj.saturation.value = -100;

As I know, that .profile - it is instanced profile, and .sharedProfile - it is asset profile, so if I change instanced .profile it should have changes only runtime.

I think it is bug. I Use Unity 2019.3.0b3 with URP 7.0.1
Thanks!

2 Likes

This still happens… anybody an explanation why?
Crazy thing is that it seams just to be in the memory in our case, because the values are reset again once I restart the editor (Unity 2020.3.1f1).

1 Like