Variables cast from GameMode not displaying in HUD?

Hey friends, I’m working on a multiplayer games. There is a scoreboard displaying on the top of the screen, the countdown time and two scores are binding to the functions in BP_UIbar (User Widget), however, they are not showing in client window.
I add a print string in those functions, it works fine.

Hey jsbug,

The GameMode when running in a multiplayer game is server side only. This means that if a client tries to get a reference to the Game Mode when it is truly a client, it will fail as it doesn’t have any access to the server directly. If you want to replicate information stored in the Game Mode, you will have to explicitly do so by calling a client function on the Character/ Pawn or PlayerController from the Game Mode.