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.
Topic | Description |
---|---|
Prepare your game for Unity Gaming Services | Initialize UGS and authenticate a player to start a multiplayer game. |
Session creation | Create a new session, configure its connection type, and define its initial properties to start a multiplayer game. |
Ways to join a session | Implement 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 host | As a session host, read, add, update, or remove session and player properties with several visibility options. |
Session operations as a client | Interact with sessions as a client by reading session properties and managing your own player properties with customizable visibility. |
Matchmaking into a session | Implement different ways to matchmake into a session either using Unity Lobby or Unity Matchmaker. |
Multiplay Hosting support | Use Multiplay Hosting features with Multiplayer Services sessions. |
The Sessions Viewer | View real-time session information to debug active multiplayer sessions in Play Mode. |