Matchmaker
Note: The content on this page pertains to Clanforge. If you’re using Multiplay Hosting, refer to the Multiplay Hosting documentation.
To run a multiplayer game, you need the following components:
- Players running the game client. The game client is the game the player installs on the console, PC or mobile.
- A game server that runs at a different location from the game client. The server is what the player connects to to play their multiplayer game session.
In addition to running game clients and game servers, multiplayer games can optionally implement a matchmaking component, which is the action of grouping players together for a game session.
While you can use alternate matchmaker solutions with Clanforge, Unity offers a matchmaker service built to simplify the design and operation of grouping players together, and is fully integrated with Clanforge's scaling platform.
Matchmaker flow
Players running a multiplayer game need their game client to connect to a game server so they can play a game session. The following diagram shows a typical matchmaker process to accomplish this connection.
![]() |
- Players connect to a matchmaker to place them into a game session. In an allocation-based process, the matchmaker groups together players to give them the best possible game session based on criteria like skill and location.
- After the matchmaker identifies a suitable group of players for a game, it needs to find a game server to host the session. The matchmaker calls Clanforge's API to find the best available game server.
- Clanforge finds the best game server to meet the request from the matchmaker, and sends these details back to the matchmaker.
- The matchmaker provides these details back to the game client.
- The game client can now use the received information to connect to the game server.