Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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.