You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 23, 2025. It is now read-only.
@@ -11,12 +11,8 @@ Before you begin, you need the following:
11
11
12
12
- An active Unity account with a valid license.
13
13
- The [Unity Hub](https://unity.com/download).
14
-
- A supported version of the Unity Editor. Refer to the [Netcode for GameObjects requirements](https://docs-multiplayer.unity3d.com/netcode/current/installation).
15
-
16
-
## Install packages
17
-
18
-
- Install the latest `com.unity.services.multiplayer` Multiplayer Services package.
19
-
- Install the latest `com.unity.netcode.gameobjects` Netcode for GameObjects package.
14
+
- A supported version of the Unity 6 Editor.
15
+
- Additional requirements information can be found here: [Netcode for GameObjects requirements](https://docs-multiplayer.unity3d.com/netcode/current/installation).
20
16
21
17
## Project setup
22
18
@@ -28,14 +24,29 @@ Before you begin, you need the following:
During alpha and beta, you need to request access to the distributed authority service. To do so, provide your Unity contact with the ID of the Unity Cloud project you created.
33
-
:::
27
+
## Install packages
34
28
35
-
## Connection setup
29
+
- Install the latest `com.unity.netcode.gameobjects` Netcode for GameObjects **v2.0.0** package.
30
+
- Install the latest `com.unity.services.multiplayer` Multiplayer Services package.
31
+
32
+
## Netcode for GameObjects setup
33
+
34
+
1. Using the SampleScene, add a new *Empty* object and name it *NetworkManager*.
1. Create a new script called *ConnectionManager.cs*. This script provides a user interface and connects to a distributed authority service session:
47
+
## Connection setup
38
48
49
+
1. Create a new script called *ConnectionManager.cs*. This script provides a user interface and the script logic required to connect to a distributed authority service session:
39
50
```cs
40
51
usingSystem;
41
52
usingSystem.Threading.Tasks;
@@ -51,6 +62,7 @@ public class ConnectionManager : MonoBehaviour
Copy file name to clipboardExpand all lines: mppm/about.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ description: Overview of Multiplayer Play Mode
6
6
7
7
Use Multiplayer Play Mode to test multiplayer functionality within the Unity Editor. You can simulate up to four players (the Main Editor and three Virtual Players) simultaneously on the same development device while using the same source assets on disk. Multiplayer Play Mode can help you create multiplayer development workflows that reduce project build times, run it locally, and test the server-client relationship.
8
8
9
+
## Compatibility
10
+
11
+
Multiplayer Play Mode version 1.1.0 is compatible with Unity Editor versions 6000.0.3f1 or later.
12
+
9
13
## Multiplayer Play Mode terminology
10
14
11
15
The following have specific meaning in relation to Multiplayer Play Mode:
Copy file name to clipboardExpand all lines: mppm/install.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,11 @@ title: Install Multiplayer Play Mode
4
4
description: How to install Multiplayer Play Mode
5
5
---
6
6
7
-
To begin testing your multiplayer functionality, you must first install the Multiplayer Play Mode package.
7
+
You can use Multiplayer Play Mode version 1.1.0 in Unity Editor versions 6000.0.3f1 or later. Multiplayer Play mode versions 1.0.0 and earlier are compatible with Unity version 2023.1 or later.
8
+
To install the Multiplayer Play Mode package, follow these steps:
8
9
9
10
1. Open Unity Hub.
10
-
2. Select a Project.
11
+
2. Select a Project to open it.
11
12
3. In the Editor's menu bar, navigate to **Window** > **Package Manager**.
Copy file name to clipboardExpand all lines: mppm/sync-play-mode.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Multiplayer Play Mode syncs the Main Editor and [Virtual Players](../virtual-pla
12
12
|**Pause**| Pauses all activated Players (Main Editor and Virtual Players) |
13
13
|**Step**| Performs a single-frame step for all activated Players (Main Editor and Virtual Players) |
14
14
15
-
In the toolbar of the **Play Mode** window, you can adjust the layout with the **Layout** dropdown. You can select and deselect the **Console**, **Game**, **Hierarchy**, **Inspector**, and **Scene**. Select **Apply**to implement your changes to the layout.
15
+
You can change the layout of the **Multiplayer Play Mode** windowwith the **Layout** dropdown. To learn more, refer to [Change the layout of a Virtual Player](virtual-players-layout).
16
16
17
17
:::note
18
18
If you enable Error Pause in the [Console](https://docs.unity3d.com/Manual/Console.html) toolbar of any Player, all Virtual Players pause when you call `Debug.LogError` from a script.
Copy file name to clipboardExpand all lines: mppm/troubleshoot/debug-mppm.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ description: Learn how to test a player running in Multiplayer Play Mode
6
6
7
7
Use the Test Runner included in the [Unity Test Framework (UTF)](https://docs.unity3d.com/Packages/[email protected]/manual/index.html) to test players in a multiplayer project.
8
8
9
+
:::note:
10
+
Multiplayer Play Mode version 1.1.0 is compatible with Unity Editor versions 6000.0.3f1 or later. Multiplayer Play mode versions 1.0.0 and earlier are compatible with Unity version 2023.1 or later.
11
+
:::
12
+
9
13
## Test a player
10
14
To open the Test Runner window go to **Window** > **General** > **Test Runner**.
0 commit comments