Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bug MatchMaker disconnection issue after pairing

Discussion in 'Game Server Hosting' started by tony040209_unity, Dec 7, 2022.

  1. tony040209_unity

    tony040209_unity

    Joined:
    Mar 21, 2021
    Posts:
    34
    Run Hosted Server on Unity Multiplay automatically or run it 24hours
    In response to this article, I still open a post to ask questions,

    In order to understand the MatchMaker service, I downloaded official example and tested it on UGS,

    Matchplay: A Matchmaker and Multiplay sample

    PairOK.jpg
    After the player pairing is completed, there will be a disconnection after a period of time.
    And it got disconnected in less than an hour.
    UGS_Q.jpg

    Shown at events on UGS,
    "Shutting down: server is allocated",
    It means that the player has been paired, but why does UGS shut down the server forcibly?
    It stands to reason that after the player battle is over,
    In order to send the CommandLine to close the Server,
    Here is also attached the Log on UGS and Client.

    12/09
    i have set
    CpuSpeed 1000mhz,
    Ram 1000mb,
    There is still a signo11 error,
    It has been confirmed that the performance will not exceed this setting.
     

    Attached Files:

    Last edited: Dec 9, 2022
  2. tony040209_unity

    tony040209_unity

    Joined:
    Mar 21, 2021
    Posts:
    34
    2022/12/10

    Currently I convert the query type to None,
    It doesn't look like there is anything wrong.

    Operating procedures:
    After about an hour of testing and no errors,
    I disconnect a player a,
    In the end, it should be the reason for MatchMaker TTL,
    So the paired server was shut down.

    I have some questions here:

    1. If the query type is changed to None, it will be normal.
    Does that mean there is a problem with the SQP part?

    2. After two Clinets enter the game, will MatchMaker consider the game to have started?
    Or notify MatchMaker by other means?

    3. When one Clinet leaves, there is one Clinet left in the room,

    Logically speaking, it should be an hour later, if you don't accept the matching invitation
    TTL will close the Server,
    But I tested it for less than an hour here,
    The server was shut down, why?

    configuation.jpg event.jpg queues3.jpg queues4.jpg
     

    Attached Files: