文档

​
​

Development

User Acquisition

Monetization

工业

Multiplayer

Multiplayer

此页面不支持所选语言。
​
​
Introduction to Unity multiplayer
  • Overview
  • Get started with the Multiplayer Center
  • Multiplayer game types
  • Quickstarts for multiplayer games
Connect players
  • Create multiplayer sessions
  • Create a player lobby
  • Matchmaking
  • Using a relay server
Create real-time synchronized gameplay
  • Unity's netcode packages
  • Networking tools and utilities
Player engagement
  • Add voice text and chat
  • Create a friends system
  • Create a leaderboard
Test and debug multiplayer games
  • Multiplayer Play Mode
Building Blocks and sample projects
  • Building Blocks
  • Competitive Action Multiplayer template
Multiplayer services for Unreal
  • Multiplayer Services for Unreal
  1. Multiplayer

Get started with the Multiplayer Center

Get recommendations about which Unity multiplayer packages and services to use based on the needs of your game.
阅读时间3 分钟
最后更新于 1 个月前

The Multiplayer Center provides a starting point to create a multiplayer game. It recommends Unity multiplayer packages and services based on the needs of your game and provides links to documentation and resources to help you get started.

Game type

Example games

Networking solution

Connect players

Develop and test

Casual co-opPuzzle games, group exploration, co-op platformersNetcode for GameObjects and Unity TransportMultiplayer Services SDKMultiplayer Play Mode and Multiplayer Tools
CompetitiveFirst-person shooters, fighting games, battle royalesNetcode for Entities and Unity TransportMultiplayer Services SDK and a server hosting service of your choiceMultiplayer Play Mode, thin clients, and the Network Profiler
Turn-basedStrategy games, board games, auto-battlers, card gamesCloud CodeMultiplayer Services SDKMultiplayer Play Mode

Get started with the Multiplayer Center

To use the Multiplayer Center in your project and have it automatically recommend and install packages, do the following:
  1. Open the Unity Multiplayer Center window Window > Multiplayer > Multiplayer Center.
  2. Select Game Specifications to generate recommended packages and solutions in the Recommendation tab.
  3. Install the packages that the Multiplayer Center recommends.
  4. Follow the examples and resources in the Quickstart tab to use the packages you installed.

Generate a list of recommended packages for a multiplayer game

To generate a list of packages that meet the needs of the multiplayer game you want to make:
  1. Select a value in each Game Specification field.
  2. Examine the packages that the Multiplayer Center suggests are the best solutions for your game.
Hover over each package name in the Recommended Multiplayer Packages section to learn why each package is useful for the game specifications you selected.
The recommendations that appear in the Recommendation tab change immediately when you change any of the Game Specifications properties.
You can select which packages to install or ignore. However, you can't deselect packages that are essential for the netcode solution or hosting model you selected.

Install recommended packages

To install the packages that the Multiplayer Center recommends, select Install Packages. Unity then installs these packages and their dependencies in your project and automatically opens the Quickstart tab. To remove a package from the install process, deselect the checkbox next to the package name before you select Install Packages.
When a tick appears next to a package name, hover over it to learn which version of this package exists in your project.
To install an individual package:
  1. Select the Open Package Manager icon next to the package you want to install.
  2. In the Package Manager window that appears, select Install.
重要
If the Multiplayer Center detects that any other multiplayer package is already installed, a warning dialog appears to cancel the installation of those packages. To avoid breaking changes, back up your project before you continue. If you continue with the installation, Unity installs or upgrades the selected packages but doesn't remove existing packages. This can cause compatibility issues. To fix them, remove the conflicting packages from your project in the Package Manager window.

Get started with the recommended packages

The Quickstart tab includes guidance, examples, and links to resources about the packages that the Multiplayer Center installs. Follow this guidance to set up and use these packages. The content in the Quickstart tab might change based on the recommendations you selected in the Recommendation tab.
The Quickstart tab organizes this guidance into categories. Follow the instructions in each category from top to bottom to set up each package in your project.

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

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

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

  • 在本页上
    • Get started with the Multiplayer Center

    • Generate a list of recommended packages for a multiplayer game

    • Install recommended packages

    • Get started with the recommended packages


报告此页面的问题