Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. 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.

Question Server Query Protocol with custom matchmaking

Discussion in 'Game Server Hosting' started by HamzaMuhammad, Aug 2, 2023.

  1. HamzaMuhammad


    Jan 17, 2022
    Hi, how can i find the number of users in a session and if the a game is underway if i am using the fusion matchmaking. I am trying to use SQP so that i can tell server to change the number of current players on the server and also get the current number of players on the server.

    I cant seem to find any example code of how to do it as the the link of example SQP being used by client is missing:

    As i want to do the SQP in c# from the client, i am unable to understand how it will work. Can someone please provide a sample code of how to get SQP data from the server to the client and also how can i use SQP to update the server current player info?