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.
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.
