Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Client not connecting to new server build at first time

Discussion in 'Game Server Hosting' started by AndreaGalet, Feb 14, 2024.

  1. AndreaGalet

    AndreaGalet

    Joined:
    May 21, 2020
    Posts:
    103
    Hi, I'm seeing a little problem when i load new builds from the Dashboard.

    I load the new build, i'm waiting for the ready state and the installation completed from the dashboard. After that i start the matchmaking, then the new instantiated server is loading but i can not connect with one or more clients, it simple disconnect the second player with an error, some times it works on one client but not on the other one. BTW i'm using a proxy server to connect to the server because i'm on webgl and i'm using Mirror



    But the second time that i try to do the match making, it works and connect to the server perfectly.

     
  2. AndreaGalet

    AndreaGalet

    Joined:
    May 21, 2020
    Posts:
    103
    If somebody have any clue, please post it
     
  3. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    2,061
    if you're using relay (I assume not proxy) - the key point seems to be you arent running the server, something else is, and you havent waited long enough for it to fire up.
     
  4. AndreaGalet

    AndreaGalet

    Joined:
    May 21, 2020
    Posts:
    103
    I'm using a reverse proxy with matchmaking
     
  5. AndreaGalet

    AndreaGalet

    Joined:
    May 21, 2020
    Posts:
    103
    I'm not using Relay
     
  6. AndreaGalet

    AndreaGalet

    Joined:
    May 21, 2020
    Posts:
    103
    I tried to wait some seconds before connecting to the server after receiving the matchmaking found response at seems working