When I toggle "Real Time Capture" on the SkyLight, the fog stops working with Path Tracer.

So it is what the title says, basically. I’m using UE5.1, so the fog works with PathTracer, and that’s nice! The problem I have is that everything works till I activate “Real Time Capture” on the SkyLight. When I do that, the fog stops working when I use PathTracer.

This is how it looks with PathTracer when I don’t have “Real Time Capture” activated:

But when I activate that option, then it looks like this:

Thanks for the help!