Hey I’m setting up a scoreboard, but the server/host appears twice and only on the host, clients show correct number of entries, is anyone able to tell me why?
Server on the left shows one too many of itself. Client on right
In the game mode all the players info is stored in an array and each player should create entries in their scoreboard based on how many players there are in the game.
For some reason it looks like the server creates an entry once in the beginning, while there is 1 entry in the Player Info Array, then it creates two more entries later, one with the client and one with itself again.
What if you try doing this not on BeginPlay(), but on PostLogin() in the game mode? When a controller connects, the Game Mode reacts to it and requests the necessary data from the Controller.
If I prevent the widget from creating entries that already exist it solves the problem, but Im not sure that is the best way of doing it. Because why does the server do it twice in the first place?