- Home /
Question by
Amodth · Jun 12, 2020 at 05:47 AM ·
networkingmultiplayerconnectionmirror
Stop accepting new player connections in Unity Mirror Networking
In Unity Mirror Networking, how to stop accepting new player connections to the game once the game is started.
Comment
Answer by HDainester · Jan 21, 2021 at 10:24 PM
You could set the networkManager.maxConnections
to networkManager.numPlayers
. Note that numPlayers
is only valid on Host/Server.
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Multiplayer game in webplayer not working on server 1 Answer
Using Mirror Networking, is there a "Run Everywhere" attribute? 1 Answer
LLAPI, multiple connections 0 Answers
Multiplayer not working 1 Answer