Description

GetCurrentPlayers() is returning 0 each time it is called, regardless of how many players are connected to the server.

Steps to Reproduce
  1. Open the attached project (Make sure Steam is running)
  2. Play in New Editor Window with 3 players (make sure auto connect to server is disabled)
  3. Press J to create a session on one of the players
  4. Press K on the other two to join
  5. Once all players are in, press '2' to call GetCurrentPlayers()

Result: 0 is printed to the screen

Expected: 3 would be printed to the screen indicating the number of current players

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

8
Login to Vote

Fixed
ComponentUE - Networking
Affects Versions4.144.15
Target Fix4.20
CreatedApr 14, 2017
ResolvedMay 30, 2019
UpdatedFeb 11, 2020