Argument is not replicated through Client RPC event when called from GameMode

GAMEMODE:
The ROC_UpdatePlayerDatas event is called here with AllPlayerNetIDS with iterating AllPlayersInTheLobby MenuPlayerController array.


MENU PLAYER CONTROLLER:
ROC_UpdatePlayerDatas creates profile widgets in the WB_Lobby with the given NetIDS.

As you can see below server gets the NetIDS just fine. But client gets an empty array. Why?
Server:


Client:

Does this also not work with other data types? Try passing not an array, but a single variable (for example a string).
It’s likely that your structure is broken… :melting_face:
They love to do this.

I did with a random integer array and it worked. The reason this occurred is because NetID is passed by either player controller or player state. I was using a player controller at the time and because player controllers are specific to clients it wouldn’t work. So I decided to do the logic in the player states rather than player controllers so it started working just fine.