The layer STATIC_UI contains all UI element.
I removed this culling mask from my camera and it should be draw by this CustomPass. Unfortunately, it doesn’t work.
My UI gameObject have their layer set to STATIC_UI and if I add this culling mask to the camera, they are drawn.
I think the CustomPass is not active because I can’t find it in the frame debugger :
I just figure out that if the gameObject where the CustomPassVolume is has a layer different from default, it just won’t work at all. Not present in frame debugguer, no breakpoint executed in code etc.