- Home /
Setting maxConnections to -1 not working
Both of the following calls show no effect:
Network.maxConnections = -1;
NetworkManager.singleton.maxConnections = -1;
I want to prevent more clients to join as stated in the docs. The inspector shows a -1 on the NetworkManager script but I am still able to join an existing multiplayer game with other clients.
What is the correct way to limit current open connections?
Thanks
FF
Comment
Your answer
Follow this Question
Related Questions
Does UnityEngine.Ping currently support ipv6 addresses on mobile devices? 0 Answers
Can you use Unity to make multiplayer IOS/Android games? 1 Answer
Can I use Unity network system with Multipeer connectivity ? 0 Answers
How can I get the WiFis name? 1 Answer
UNet NetworkManager Client Disconnect : After OnApplicationFocus 1 Answer