Greetings.
I am currently working on **HDRP Volume** profiles and I create **Volume** and add **Depth Of Field** to it via script and I can change **Depth of Field** values from script but can't see the effect on camera. When I change values from script can't see the new values at **Depth of Field** area until I move my cursor to **Depth of Field** area at editor. When I move it to area, values are changed but effect is not visible at game.
I am not sure if it is a bug or not. Also `SetDirty` is deprecated, setting `isDirty = true` and setting `DepthOfField.active = true` didn't worked for me.
Unity 2021.3.7f1 Thank you.
I am currently working on **HDRP Volume** profiles and I create **Volume** and add **Depth Of Field** to it via script and I can change **Depth of Field** values from script but can't see the effect on camera. When I change values from script can't see the new values at **Depth of Field** area until I move my cursor to **Depth of Field** area at editor. When I move it to area, values are changed but effect is not visible at game.
I am not sure if it is a bug or not. Also `SetDirty` is deprecated, setting `isDirty = true` and setting `DepthOfField.active = true` didn't worked for me.
Unity 2021.3.7f1 Thank you.