[Replicate] function not run on both client(owner) and server when predict is disable state forwarding
Recently I have completed some other logic work on my game and am trying to get back to working on characters.
But something happened that seems to be different from what I knew before, which leaves me with a question.
When using predictions, there are two cases.
state forwarding and disable state forwarding.
I thought that with state forwarding, the [Replicate] function would run on all clients and server.
And when state forwarding is disabled, the [Replicate] function is only called on the owner client and server.
But now I'm working on it and the [Replicate] function is not called correctly on the server side, only call on client.
Am I understanding something wrong?
Or has something changed?
Or is there something wrong with my code?