I am trying to update a widget across all the players in the game for how many parts they have collected. But I can’t for the life of me get it to update to all the clients and server.
When I press R it checks if the player that pressed the key has authority, and responds accordingly. Then it will call an event in the widget from the server for all clients to update the collected number.
2 things go wrong during testing. 1) The variable is unique to each client. (If I press are 3 times on server, nothing changes on clients and vice versa)
And 2) I get an error that the HUDRef accessed none when running the multicast.
Yes that’s why replicating from game mode will always give the server side result. Replicating it to game instance means all clients receive the servers result. You can achieve this with custom events. If logic needs to be done client side then yes this approach is not appropriate.