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 Matchplay Sample: Error Failed to connect to server.

Discussion in 'Game Server Hosting' started by ArikaHoshino, Apr 18, 2023.

  1. ArikaHoshino

    ArikaHoshino

    Joined:
    Sep 14, 2020
    Posts:
    32
    I created a Test allocation of the fleet on the dashboard and try connect to it using editor play but I got this error.

    Failed to connect to server.

    after client starting.

    Failed to connect to server.png

    These are the server events.
    server events.png

    And Server logs( Check matchplaylog.txt)

    Please help me diagnose where the problems are, Thanks!
     

    Attached Files:

  2. ArikaHoshino

    ArikaHoshino

    Joined:
    Sep 14, 2020
    Posts:
    32
    Also, There is a
    "
    UnityProjectNotLinkedException: To use Unity's dashboard services, you need to link your Unity project to a project ID.
    "

    in the server log, but I am sure that the project is linked correctly in the ProjectSetting/Service Setting before I build the Linux dedicated server build.
     
  3. ArikaHoshino

    ArikaHoshino

    Joined:
    Sep 14, 2020
    Posts:
    32
    I tried to build the Linux dedicated server not using the BuildTools editor script from the repo and it works now, case closed.