Networking Game for Two Players

Hello,

I’m trying to make a network manager, where you only press one button, and the manager searches for hosts and checks if there is any host where the player limit is not achieved.

But my hostData.connectedPlayers always returns 1, how can I possibly differentiate if a server has 2 players (including the server)?

Thankyou

The result you see is the number of clients. So if the server is a player too, you need to add 1 to the result.