Occlusion culling (the one done with r.AllowOcclusionQueries 1) draws objects that should be visible only in RVT draws, not in main ones. This happens because FPrimitiveSceneProxy::FPrimitiveSceneProxy checks ERuntimeVirtualTextureMainPassType::Never and Always, but not Exclusive.
Steps to Reproduce
Open the renderdoc capture (or open TestScene and launcha new renderdoc capture). Select drawCall EID 853 (the only drawcall in GroupedQueries in BeginOcclusionTests). Select the output SceneDepthZ buffer, enable Overlay “hightlight Drawcall”. Observe 3 boxes. The box on the right shouldn’t be tested. I don’t know what the box in the center is.