Add Dedicated Game Server Deployments to Unity's Matchmaking
The following leverages the documentation on how to deploy game servers to Edgegap's hosting and orchestration platform from Unity's matchmaking service. It may be out of date, and thus we recommend to follow the documentation, which is available on GitHub.
Need to migrate completely from Multiplay as Unity stops its internal supports for Multiplay on March 30th 2026? Edgegap has a step-by-step guide available.

Purpose & Scope
This repository demonstrates how to integrate Unity Matchmaker with different game server hosting platforms using Cloud Code modules. When using these examples, you're responsible for:
Testing and validating integrations for your specific use case.
Securing your deployments and managing credentials.
Complying with each hosting provider's terms of service.
Maintaining and updating your implementations.
Requirements
Make sure that your service account has the following project permissions:
Unity Environments ViewerCloud Code Editor
Edgegap: Game Server Hosting & Orchestration
Paste your Edgegap App name and Version in the cloud script code.
Deploy the module
Configure Unity Dashboard
Navigate to the Unity Dashboard:
Add the required secrets to your project under Administration > Secrets (refer to the respective module's
CONFIGURATION.mdfor details)Update your Matchmaker to use the new Cloud Code-based allocator under Matchmaker > Queues.
Client Integration
When creating ticket with POST- https://matchmaker.services.api.unity.com/v2/tickets, include public IP in custom data:
Maintenance and Support
This repository contains example code for educational and reference purposes. Unity will review updates to this repo but will not guarantee response times for issues or pull requests.
Troubleshooting
If you have issues with the examples in this repository, refer to the documentation of your chosen hosting provider or seek help in the Unity Discussions forums.








