Matchmaker hosting providers
Integrate your preferred game server hosting provider using Cloud Code modules.
読み終わるまでの所要時間 1 分最終更新 1日前
You can integrate Matchmaker with most game server hosting providers using Cloud Code modules to allocate game servers and coordinate matchmaking results. While most third-party providers are compatible, Unity provides example Cloud Code modules to integrate the following alternative hosting providers:
These modules demonstrate how to allocate game servers using the respective hosting provider's API, and how to integrate with Unity Matchmaker to pass the necessary matchmaking results to the allocated server. For more detailed instructions about how to deploy and use these modules in your project, refer to the README.md file of the example repository.
To set up one of the previous modules:
- Read the README.md file of the example repository.
- Clone the GitHub repository.
- Install and set up the UGS CLI for your project.
- Follow the instructions of the relevant file.
CONFIGURATION.md - Run .
ugs deploy modules/<provider_name>
Backward compatibility with Multiplay Hosting
If your game uses Multiplay Hosting and you don't want to update your game client, you must set its matchmaking compliance to be backward compatible by using a Cloud Code module to override the Multiplay Hosting settings. In this mode, Matchmaker calls the configured Cloud Code module to allocate, but continues to assign tickets with a Multiplay Hosting assignment to be compatible with existing SDKs. To set matchmaking to be backward compatible with Multiplay Hosting:- In Matchmaker, create a pool, or edit an existing pool.
- At the Hosting settings stage of the pool creation, select Hosting type > Multiplay Hosting (Deprecated).
- Set the following fields:
- Module Name
- Allocate Endpoint
- Poll Endpoint