Integrating Multiplayer Sessions in your game

Manage multiplayer sessions with the Multiplayer Services SDK.

The Multiplayer Services SDK provides a unified, session-based API for implementing multiplayer functionality. This section describes how to programmatically interact with your multiplayer game.

TopicDescription
Prepare your game for Unity Gaming ServicesInitialize UGS and authenticate a player to start a multiplayer game.
Session creationCreate a new session, configure its connection type, and define its initial properties to start a multiplayer game.
Ways to join a sessionImplement several ways for players to join an existing session, such as through a join code, or by browsing a list of sessions.
Session operations as a hostAs a session host, read, add, update, or remove session and player properties with several visibility options.
Session operations as a clientInteract with sessions as a client by reading session properties and managing your own player properties with customizable visibility.
Network connection managementPlayers can create and join sessions using different network connection types and configuration options.
Matchmaking into a sessionImplement different ways to matchmake into a session either using Unity Lobby or Unity Matchmaker.
Multiplay Hosting supportUse Multiplay Hosting features with Multiplayer Services sessions.
Synchronization of player names in a sessionExpose and read player display names as session player properties so that all players can view each other's names.
The Sessions ViewerView real-time session information to debug active multiplayer sessions in Play Mode.