Install the SDK
Install the Multiplayer Services package, and standalone multiplayer SDKs to the unified Multiplayer Services SDK.
読み終わるまでの所要時間 1 分最終更新 21日前
To start using the Unity Multiplayer Services package, you need to do the following:
-
Make sure you meet all prerequisites.
-
Prerequisites
Before you continue, make sure you meet the following requirements:
- You complete the steps outlined in Get started with UGS.
- You are using a Unity 6 project created with the template to ensure maximum compatibility.
Universal 3D - Prepare your game for Unity Gaming Services.
Install the Multiplayer Services package
To begin a multiplayer project in Unity using the Multiplayer Services SDK, install the Multiplayer Services package:
- In the Unity Editor's Package Manager, select Unity Registry.
- Search for (or
Multiplayer Services).com.unity.services.multiplayer - Select Install.
You can now start using the Multiplayer Services SDK.
You can also install the Multiplayer Services SDK as part of the Multiplayer Center workflow.
Migrate from previous SDKs
The Multiplayer Services SDK unites the functionality of the standalone SDKs from the following services:
- Lobby
- Matchmaker
- Relay
If you're already using any of the SDKs from these individual services in your project but want to move to the unified Multiplayer Services SDK, you must first migrate from the individual services' packages to the Multiplayer Services package. For migration instructions, refer to Migrate to the Multiplayer Services SDK.