Search Unity

Question How to manage simultaneous games

Discussion in 'Multiplayer' started by kor6k, Dec 13, 2022.

  1. kor6k

    kor6k

    Joined:
    Jan 8, 2017
    Posts:
    50
    Hello,
    I'm trying to do a multiplayer game using mirror.
    I did a room manager which receive all the connected players and create the game once 20 players are connected or after 15s.
    My problem is when a game is running, the room manager will create a new one but when a new player is joining, the Spawn method will create the player in all connected clients included these of the running game.
    How can I avoid this? How can I configure mirror to spawn only in a list of defined clients.
    Thanks in advance
    kor6k
     
  2. JordanHanse

    JordanHanse

    Joined:
    Dec 13, 2022
    Posts:
    2
    I'm having the same problem as you and haven't found a fix yet. The online multiplayer game is quite laggy. There are a few websites that I try to have the same problem