HDRP Volumetric fog see through walls


The volumetric fog in my game is visible even if it is behind the wall. The layer of the fog is same as others. The problem doesn’t appear in scene mode.