Hi! I was using Unreal Engine 5.4.4 and I noticed that when I ratating my camera the cache stats (using r.Shadow.Virtual.ShowStats console variable) drop rapidly to ZERO (Even if I just do a slightly ratate). The FPS drops too and goes back to normal as I stop rotating camera. The “Shadow Depth” will continuously increase if I keep ratating camera. The VSM doc says that “There is a known issue with Scene Capture Components that can cause the entire cache to be invalidated”, but I’m not using any. So how can I figure out what causes this. Many Thanks!!!
Turned out that there is a SceneCaptureComponent2D(Occlusion Capture) in Sky Creator Plugin. If I disable this component. VSM performance when rotating or moving camera is as what I expected since the caches are working. So I guess that before Epic fixed this issue, we should really not using Scene Capture Component when VSM is enabled.