文档

​
​

Development

User Acquisition

Monetization

工业

Multiplayer Services SDK

All Services

Multiplayer Services SDK

此页面不支持所选语言。
Multiplayer
​
​
Multiplayer Services SDK
  • Overview
  • Get started
  • Use multiplayer sessions
  • Manage sessions
  • Connect players through a relay
  • Networking
  • Matchmaking
  • Monitor and debug sessions
  • Tutorials
  • Reference

Multiplayer Services SDK

Create and manage multiplayer experiences using Unity's integrated suite of services.
阅读时间1 分钟
最后更新于 8 天前

Unity Multiplayer Services provides a comprehensive framework for building multiplayer games, offering solutions for networking, server hosting, and player connections.
The Multiplayer Services (MPS) SDK unifies Lobby, Matchmaker, and Relay under a single, cohesive API, replacing their individual SDKs. This consolidated approach reduces development complexity while maintaining the full capabilities of Unity's multiplayer infrastructure.
注意
Existing games already using Lobby, Matchmaker, or Relay can be upgraded to the Multiplayer Services SDK by following the upgrade guide.
The MPS SDK introduces sessions, which isn't a standalone service but instead an abstraction layer that manages how players connect and interact in multiplayer games. Sessions handle the complexities of player grouping, connection management, and game state coordination, streamlining the development of both peer-to-peer games and dedicated server experiences.
Multiplayer sessions
Implement multiplayer functionality in your games using sessions, a unified system that manages player connections and interactions.
Install and upgrade
Install the Multiplayer Services package, and upgrade any individual services' SDKs to the unified Multiplayer Services SDK.
Get started
Learn the different methods to add sessions-based multiplayer functionality to your game.
Sessions tutorials with Unity Netcode
Create simple multiplayer games using Unity Netcode solutions to learn key concepts, such as sessions and how to join them.
Integrating Multiplayer Sessions in your game
Learn about different ways to configure a multiplayer game programmatically.
Matchmaking in sessions
Use Matchmaker to connect players, create matches, and manage matchmaking workflows for multiplayer games.
Connect players
Learn how to connect players securely using the Relay service without dedicated game servers.
Reference
Learn about any related foundational information.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题