Sessions tutorials with Unity Netcode
Use Netcode to build a simple multiplayer game from scratch using sessions.
Multiplayer Services uses the following netcode solutions to manage real-time networking in sessions:
- Netcode for GameObjects, which is compatible with
NetworkBehaviour
. - Netcode for Entities, which is compatible with Unity's Data-Oriented Technology Stack (DOTS).
You can use only one of these networking libraries per project.
The following tutorials demonstrate how to use Multiplayer Services sessions and Unity Netcode to add simple multiplayer elements to a game. Completing these tutorials is the best way to learn the principles of the Multiplayer Services package.
Topic | Description |
---|---|
Build a session with Netcode for GameObjects | Learn how to use Multiplayer Services and Netcode for GameObjects to create a simple, session-based multiplayer game. Use Netcode for GameObjects to add networking capabilities to GameObject and MonoBehaviour workflows, or when building your first session. |
Build a session with Netcode for Entities | Use the principles of Multiplayer Services to create multiplayer functionality for projects using DOTS. |