HDRP Build throws error when trying to set 'runInEditMode' on 'CustomPassVolume'
Bulding for windows throws the following error:
"Assets\Shapes\Scripts\Runtime\Immediate Mode\HDRPCustomPassManager.cs(46,13): error CS1061: 'CustomPassVolume' does not contain a definition for 'runInEditMode' and no accessible extension method 'runInEditMode' accepting a first argument of type 'CustomPassVolume' could be found (are you missing a using directive or an assembly reference?)"
When I wrap that in #if UNITY_EDITOR//#endif the error goes away. I'm guessing the build process strips the property(?).