GetCurrentPlayers() broken in SteamSubsystem

Hey so I noticed GetCurrentPlayers()

int32 UFindSessionsCallbackProxy::GetCurrentPlayers(const FBlueprintSessionResult& Result)
return Result.OnlineResult.Session.SessionSettings.NumPublicConnections - Result.OnlineResult.Session.NumOpenPublicConnections;

Inside of UFindSessionsCallbackProxy of the OnlineSubsystemSteam always returns 0 no matter what. Is there a hotfix I can do on my own to repair this issue?

Hey poke1103,

I’ve just tested this in my Steam test project, and it appears to be working as expected.

After calling Find Sessions, I used the session result to call GetMaxPlayers(), and it always returned the same number that I set for my Public Connections when I created the server.

Do you have more information regarding this? How are you attempting to use GetMaxPlayers()?

Please provide a detailed list of steps we can follow to reproduce the issue on our end.


Not GetMaxPlayers() my mistake, I meant GetCurrentPlayers() that’s the function I posted but I typed GetMaxPlayers() into the subject line.

GetMaxPlayers() works fine, GetCurrentPlayers() is broken.

Thanks for the clarification. I’ve reproduced your issue, and have entered a bug report which you can track using the link below:

Have a great day

Any idea of when when this will be fixed? 4.15.2?

The public tracker link will be updated with additional information as soon as it is available.