Fog Disappear when I render

I use the ultra-dynamic plugin and in the camera view I get some nice fog, but when I render (I have ray trace on) the fog almost disappear, see the before and after here:

tks a lot for the help

hi, maybe I answered too late, but you need to enable “Use volumetric fog” in the Ultra Dynamic Sky settings