Ue4 directional light not replicate different times of day for client and server

So I’m making a day night cycling but the directional light is not replicate its rotating so if the client joins the game and it’s night on the server it will be day for the client dose anyone know how to replicate the suns rotating of multiplayer

Bump this,

I am facing the same issue.

I might be late to this, but I was facing this problem and realized a directional light does not appear to replicate by default, which is weird. When I manually set it to replicate, it fixed the issue.

I have a simple empty actor in the world that manages the sun/environment replication behaviors.

Do you call ServerSetSunRotation each time you change the rotation?

I had to think about this for a while, but in my case, I don’t replicate the Directional Light itself. Instead, I only replicate a variable called Progress, which is controlled by the host. That variable is then replicated to all clients, and each client locally updates the Directional Light’s position based on the replicated Progress value.

In my case, this approach works—and it works well.