See this post: [HDRP][2019.1] How Do You Change Effects Volume Overrides Through Script?
That snippet is still using the old HDRP namespace so just swap that to the current one and it should work.
See this post: [HDRP][2019.1] How Do You Change Effects Volume Overrides Through Script?
That snippet is still using the old HDRP namespace so just swap that to the current one and it should work.