Unity Manual

When playing over the internet, network traffic goes through a relay server hosted by Unity in the cloud instead of directly between the clients.

Main navigation

This avoids problems with firewalls and NATs, allowing play from almost anywhere. Matchmaking functionality can be utilized with a special script NetworkMatch , in the UnityEngine.

The ability to use the relay server is built into the LLAPI but the matchmaker makes it easier to use. To use it, derive a script from NetworkMatch and attach it to a manager object. Below is an example of creating a match, listing matches, and joining a match.

Unaffiliated

This script sets up the matchmaker to point to the public unity matchmaker server. Matchmaking places users together in a shared multiplayer experience. User matching can be done by common skill or other criteria that you define. The Matchmaking service offers two modes, Quickmatch and Browse. Matchmaking works in combination with another Oculus Platform feature, Rooms , to provide a full multiplayer experience in VR.

Game Server Hosting with Integrated Matchmaking | Unity

Matchmaking places users together in a room for a gameplay session, and the room the hosts and manages the gameplay session. Please see the Rooms page for information about the different types of rooms available. For the purposes of integrating Matchmaking, you should be aware that there are two different types of matchmaking rooms that are used by the service, user-created matchmaking rooms and system-generated matchmaking rooms.

As the names suggests, user-created rooms are created and owned by users, where system-generated rooms are created and owned by your app. Matchmaking is frequently used in combination with Leaderboards to rank and compare multiplayer users creating a competition among players.

There are two supported matchmaking modes, Quickmatch and Browse. Choose the multiplayer experience that you want your players to have. Quickmatch - Quickmatch allows players to join a matchmaking queue, and be automatically matched into a room for a multiplayer session. There are two types of Quickmatch:.

This guide will walk you through the matchmaking configurations and SDK basics, a basic matchmaking implementation, how to add more advanced user matching, and finally how to test and tune your implementation.