Documentation

Multiplayer Services SDK

All Services

Multiplayer Services SDK

Use multiplayer sessions

Guides and information on how to implement multiplayer sessions in your game.
Read time 1 minuteLast updated a day ago

Use multiplayer sessions to create and manage connected players, support session ownership and hosting scenarios.

Page

Description

Integrate Multiplayer sessionsImplement multiplayer functionality in your games using sessions, a unified system that manages player connections and interactions.
Initialize UGS and authenticate the playerInitialize Unity Gaming Services in your project, and authenticate the player to prepare for multiplayer functionality.
Create a sessionConfigure session options and choose network connection types to add multiplayer support to your project.
Find and join a sessionImplement ways for joining multiplayer sessions by entering a join code, browsing available sessions, or reconnecting after a disconnection.
Match playersFind and join the most suitable multiplayer sessions for a given player using matchmaking.
Migrate session hostLearn about changing session ownership, including host election and data migration.
Leave a sessionLearn how players can leave a session and what happens when they exit.
Get joined sessionsRetrieve a list of all sessions that the current player has joined.
Delete a sessionPermanently delete a session to remove it from the system and disconnect all players.
Game server hosting supportIntegrate different hosting solutions using Cloud Code modules to manage servers.