Hi all
I have a question regarding integrating playfab matchmaking with playfab multiplayer server.
I have a working matchmaking flow but so far I haven't enabled the multiplayer server of playfab,
I'm using the local agent to test the server.
I'm wondering if it's possible to integrate the matchmaking with the local agent?
if so is there documentation about it? or example project?
thanks in advance
Answer by Junjin Chen · Nov 05, 2020 at 08:09 AM
Usually the matchmaking process allocates a game server according to the queue’s config. Integrating matchmaking with local server, including spinning server instances, returning server ips & ports back to the Matchmaking flow, etc., is rather complex. It is better to test matchmaking and local multiplayer server separately, then deploy the build on PlayFab.
The information passed to the game server from matchmaking process contains:
Following this document: Locally debugging game servers and integration with PlayFab, there should be a MultiplayerSettings.json file in the local debugging toolset. The parameters that matchmaking passes to the server can be modified in “SessionConfig” property of this file to test the local server. This helps you debug your local server in the same context as the one allocated by Matchmaking on the cloud.