Download

FOnlineSessionSettings + FindSessions() discrepancy

Hi, sorry for the weird title.

The issue I’m having has to do with the FOnlineSubSystem classes.

I have a certain way of represented the number of connected players, which FOnlineSession doesn’t support.

For debug purposes I added a field in FOnlineSessionSettings, right next to NumPublicConnections. When I create the dedicated server I set the value, just as I set NumPublicConnections.

But when a Client performs FindSessions() and reads the search result, my number of players field always carries the default value, while NumPublicConnections displays correctly.

I’m using Steam as the online subsystem.
Is it even possible to add fields like this?

Thanks in advance