I’ve been trying to sync my custom pawn data to all players across the network. Using the networking tutorials from Epic, I was only able to sync between one client and the server, but as soon as I added more clients, their data was not updated.
I’m pretty new to this, so after a lot of experiments I figured out that I can sync my custom data by by calling a Multicast from the server.
So basically in this case:
- Player rotates/moves turret, sends this data to the Authority through an RPC (Run on server)
- Server checks if this behavior through Has Authority
- Server sends out data to all clients through a Multicast
I feel like I’m missing something or doing something completely wrong. I would love to hear your opinion!