Skip to content

Commit 283eaf9

Browse files
committed
Merge branch 'develop'
2 parents 3398e29 + bd74842 commit 283eaf9

35 files changed

+1266
-1
lines changed

docusaurus.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,13 @@ module.exports = {
389389
lastVersion: "current",
390390
versions: {
391391
current: {
392-
label: "1.4.0",
392+
label: "1.5.0-exp.1",
393393
path: "current",
394394
},
395+
"1.4.0": {
396+
label: "1.4.0",
397+
path: "1.4.0",
398+
},
395399
"1.3.3": {
396400
label: "1.3.3",
397401
path: "1.3.3",
+303
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
---
2+
id: mppm-release-notes
3+
title: Release notes
4+
description: Release notes for Multiplayer Play Mode including new features, updates, bug fixes, and known issues.
5+
---
6+
7+
## [1.5.0-exp.1] - 2025-03-06
8+
9+
### Fixed
10+
- Fixed and exception that was thrown when you start a scenario with no instances.
11+
- When a stop is requested during a domain reload, the scenario now exits Play Mode.
12+
- The launching scenario progress bar transition animation now appears correctly.
13+
- Reduced the number of errors that appear in the log when you rename the project.
14+
- Deleting Player Tags from Project Settings no longer removes them from existing Scenarios.
15+
- The editor window controls or widgets in Clone Editor instances now display correctly.
16+
- The launching scenario window UI is now ready during the build process.
17+
18+
### Added
19+
- Added Android mobile support to playmode scenarios.
20+
21+
## [1.4.0-pre.2] - 2025-01-10
22+
23+
### Added
24+
- Added `CurrentPlayer.IsMainEditor` to the API to check if the current Player is the Main Editor instance.
25+
- Added a Main Editor label to the scenario launch window.
26+
27+
### Fixed
28+
- Fixed an `ArgumentNullException` issue that occurs across an Multiplayer Play Mode upgrade with an actively set playmode Scenario configuration.
29+
- Fixed an issue where project settings were not getting propagated to Virtual Players when entering Playmode via the play button.
30+
- Fixing the issue where the launching scenario window persists when domain/scene reload is enabled in the project settings.
31+
32+
### Changed
33+
- Moved the warning helpbox in Multiplayer Play Mode window to the bottom of the VP list during VP activation.
34+
35+
### Fixed
36+
- Virtual players can now be muted and mute all virtual player setting only mutes players at launch
37+
## [1.4.0-pre.1] - 2024-12-05
38+
39+
### Fixed
40+
- Virtual Player windows correctly update and stay in sync when you enter and exit Play mode.
41+
- Removed instances of outdated internal build profile API functions.
42+
43+
### Added
44+
- Added a Scenario launch pop-up window that shows the scenario stages, progress bars, and configuration details.
45+
- Added the Entities Hierarchy window to Virtual Players. To enable this window, go to **Layout** > **Entities Hierarchy**.
46+
47+
## [1.3.3] - 2024-12-17
48+
49+
### Added
50+
- Fixed an `ArgumentNullException` issue that occurs across an Multiplayer Play Mode upgrade with an actively set Play Mode Scenario configuration.
51+
52+
### Fixed
53+
- Fixed an issue where project settings were not getting propagated to Virtual Players when entering Play mode via the play button.
54+
55+
## [1.3.2] - 2024-11-14
56+
57+
### Fixed
58+
- Fixed clones so that they correctly deactivate when you stop a play mode scenario during the clone activation.
59+
- Fixed the clone editor's layout configuration so that it displays correctly when you enable Playmode Tools.
60+
- Fixed the compilation error "'UnityPlayer' does not contain a definition for 'Role'" when the Dedicated Server package version doesn't match.
61+
62+
### Added
63+
- On Windows devices, the Virtual Player window now remains anchored when you use the same layout in Play mode and Edit mode.
64+
65+
## [1.3.1] - 2024-10-21
66+
67+
### Fixed
68+
69+
- Fixed an issue where the "Player [X] failed to sync" window appeared without a synchronization issue.
70+
- The Virtual Player folder now refreshes when you update the package, Unity Editor, or Editor changeset version.
71+
72+
### Added
73+
74+
- Added a help box to the Multiplayer window to stop package imports while the virtual player(s) are activating. The help box remains visible until all virtual player(s) are ready.
75+
- Added Multiplayer Menu links to the **Scenario Configuration** and the **Scenarios** status in **Windows** > **Multiplayer**.
76+
77+
## [1.3.0] - 2024-09-26
78+
79+
### Changed
80+
81+
- Updated `com.unity.services.multiplayer` to release version 1.3.0.
82+
83+
### Fixed
84+
85+
- Increased the minimum Engine version to 6000.0.22f1 to fix a crash that happened when you use virtual players and a build profile.
86+
87+
## [1.3.0-pre.3] - 2024-09-20
88+
89+
### Changed
90+
91+
- Replaced the **Original Name** property in the **Remote Instances** > **Advance Configuration** section with the **Identifier** property. The **Identifier** string field creates a unique name for the Multiplay Build, Build Configuration, and Fleet. This name uses the format `CreatedFromTheUnityEditor-[identifier]-[username]`.
92+
93+
### Added
94+
95+
- Added stream logs to main editor option for additional editor instances.
96+
- Fixed an issue where domain reloads caused streaming logs from local instances to stop.
97+
- Added a percentage progress to the Play mode Status Window for the preparing, deploying, and launching stages.
98+
99+
### Fixed
100+
101+
- Removed the compilation warning "This async method lacks 'await' operators and will run synchronously".
102+
- Enabled log streaming from remote instances.
103+
- Code changes now sync consistently between the Main editor and the virtual player when you use Rider.
104+
- Fixed the "Asset out of sync" error that appeared when the virtual player didn't start in the correct build target.
105+
106+
## [1.3.0-pre.2] - 2024-08-14
107+
108+
### Fixed
109+
- Fixed an issue where the virtual player called `OpenScene()` and `CloseScene()` during Play mode when multiple scenes existed in the project.
110+
- Fixed the error "Type is not a supported string value" that appeared when you add a tag to the Main editor instance.
111+
- Tags now persist in the **Tag** dropdown after you navigate away from the **Scenario configuration** window.
112+
- Fixed the error "Multiplayer Play Mode can't spawn virtual player" in Play mode.
113+
114+
### Changed
115+
- The Multiplayer Play Mode Window is now disabled when you select a Play Mode Scenario.
116+
117+
## [1.3.0-pre.1] - 2024-07-26
118+
119+
### Changed
120+
- Reduced the time it takes to enter Play mode with remote instances on consecutive runs that create the same build files.
121+
- Added the **Editor** property to the **Play mode scenario** window that you can use to disable the Main editor instance.
122+
- Updated the remote deployment dependency to `[email protected]`.
123+
- Removed UPM from the clones to improve performance and so clones rely on library redirect as originally intended.
124+
125+
### Fixed
126+
- Added a window that gives you the option to **Save**, **Don’t Save**, or **Cancel** when you initiate a virtual player with an unsaved scene.
127+
- Fixed the "Asset database is out of sync" error that appeared when virtual player opened.
128+
129+
## [1.3.0-exp.4] - 2024-07-16
130+
131+
### Changed
132+
- Updated the remote deployment dependency to `[email protected]`.
133+
134+
## [1.3.0-exp.3] - 2024-07-11
135+
136+
### Changed
137+
- Moved the Multiplayer Window from **Window** > **Multiplayer Playmode** to **Window** > **Multiplayer** > **Multiplayer Playmode** to ensure consistency with the other Multiplayer packages.
138+
- Scenario status popup title changed from **Connection Status** to **Instances Status**.
139+
140+
### Added
141+
- Added the Playmode Status Window that gives more information about each instance in the scenario
142+
143+
### Fixed
144+
- Removed warning log when the multiplay package is not installed. Information message now appears only in the UI in the "configure play mode scenarios" window.
145+
- Fixed remote instances default arguments from `-log` to `-logFile`.
146+
147+
## [1.3.0-exp.2] - 2024-07-03
148+
149+
### Fixed
150+
- Fixed an issue to make the **Stream logs to main editor** property work in local instances.
151+
152+
## [1.3.0-exp.1] - 2024-06-24
153+
154+
### Added
155+
- Added the Playmode Scenarios window that you can use to configure Editor, local and remote instances.
156+
157+
### Fixed
158+
- No longer hit an exception when launching the standalone profiler.
159+
160+
## [1.2.0] - 2024-06-04
161+
162+
### Added
163+
- Added tooltips to the preferences window
164+
165+
### Fixed
166+
- Fixed an issue that hid Multiplayer roles when you reinstalled the Dedicated Server Package.
167+
- Fixed the main view window so that when you make it smaller the UI is not affected.
168+
169+
## [1.1.0] - 2024-04-24
170+
171+
### Added
172+
- Added a new layout option to each Multiplayer Play Mode clone in projects that include the Netcode For Entities package.
173+
- Updated the **Close** button to display a warning dialog prompt that deactivates a Virtual Player.
174+
- Added the mute setting to mute specific users.
175+
- Added a setting that changes the Asset Database refresh timeout.
176+
- Updated the focus shortcut behavior to focus on other individual Virtual Player windows from inside an individual Player.
177+
- Updated the message that appears when a Symlink failure (on FAT32) happens because it isn't supported.
178+
179+
### Fixed
180+
- The local clone cache clears automatically when you update the Multiplayer Play Mode package.
181+
- Fixed a crash caused by devices set to certain regions.
182+
- Changed the default multiplayer role of Player clones to Client and Server.
183+
- Added a minimum width for the main view of the Multiplayer Play Mode window.
184+
- The escape key no longer closes Virtual Player windows on Windows devices.
185+
- Fixed issues with heartbeat timeout.
186+
- Removed the forward slash **/** character from tags because it's for drop-down behavior only.
187+
188+
## [1.0.0] - 2024-03-12
189+
190+
### Added
191+
192+
- A Multiplayer development workflow aiming to offer a more efficient development cycle for multiplayer games. The tool enables opening multiple Unity Editor instances simultaneously on the same development device, using the same source assets on disk.
193+
194+
## [1.0.0-pre.2] - 2023-12-21
195+
196+
### Fixed
197+
198+
- Better handling of custom implicit packages on the clones.
199+
200+
## [1.0.0-pre.1] - 2023-11-17
201+
202+
### Fixed
203+
204+
- Some compatibility fixes with Dedicated Server.
205+
206+
## [0.6.0] - 2023-11-08
207+
208+
### Fixed
209+
210+
- Some fixes for Clone heartbeats.
211+
- More fixes for persistent window layouts.
212+
213+
### Features
214+
215+
- Can now focus Player with hotkeys (CTRL+F9-F12).
216+
- Just show the layout view toggles as disabled during playmode.
217+
- Automatically focus Players after activating.
218+
219+
## [0.5.0] - 2023-09-27
220+
221+
### Fixed
222+
223+
- Fix broken links in documentation.
224+
225+
### Features
226+
227+
- Moved PlayerTags to the project settings window.
228+
- Players can now have multiple PlayerTags.
229+
- Updated `CurrentPlayer.ReadOnlyTag` to be `CurrentPlayer.ReadOnlyTags`.
230+
231+
## [0.4.0] - 2023-08-26
232+
233+
### Fixed
234+
235+
- Fixed an issue where a Player could still show up as active after it had exited.
236+
- Fixed an issue where you could have multiple add tag views.
237+
- Fixed an issue where `CurrentPlayer.ReadOnlyTag` would not return the correct value when domain reload on play mode is disabled.
238+
- Fixed an issue where clones were crashing when scrolling mouse over menu top bar
239+
240+
### Features
241+
242+
- Debug workflows now has dynamic layouts that persist between runs.
243+
- Players that are unresponsive will now result in a prompt appearing in the main Editor Player asking if they should be restarted. (Only on Windows for now.)
244+
- Now support for content selection in your Players (Requires dedicated server package to be installed).
245+
246+
## [0.3.0] - 2023-07-26
247+
248+
### Fixed
249+
250+
- Fixed PlayerTags starting and ending with whitespace.
251+
- Fixed handling of relative paths in the package.json of a Player.
252+
253+
### Features
254+
255+
- Can now have your Players reboot if they fail to import or stop unexpectedly (e.g. crash). A prompt will appear asking what action to take.
256+
- Debugging workflows is now enabled (giving users more access to the editor in Players). It can be accessed by using the Layout Dropdown in the top left of a Player to enable more views (Scene, Game, etc).
257+
- Can disable Multiplayer Play Mode in settings.
258+
- Updated Tag to be ReadOnlyTag to better communicate how tags as a feature works.
259+
260+
## [0.2.0] - 2023-06-26
261+
262+
### Fixed
263+
264+
* Fixed null exception when loading into a new scene with unsaved changes.
265+
* Fixed exception triggered on Players when changing scene in play mode.
266+
* Updated text to "Show in Finder" on MacOS for revealing Players location on disk.
267+
* Fixed issues with the Asset Database syncing.
268+
269+
### Features
270+
271+
* Display a message to the console log when opening Clones that don't have the required symlinked folders.
272+
* Trigger play mode for clones before main Editor Player starts entering play mode.
273+
* Clone Players will have the same behaviour as the main Editor Player regarding the "Stop playing and compile" option.
274+
275+
## [0.1.1] - 2023-01-26
276+
277+
### Fixed
278+
279+
- Reduced GC allocations in the messaging system loop.
280+
- Fixed CurrentPlayer.ReadOnlyTags() returning "Untagged" instead of an empty string if a tag is not assigned.
281+
- Fixed bug where pressing Return or Enter would not submit a created tag to the UI.
282+
- Fixed missing XMLDoc for CurrentPlayer API.
283+
- Fixed broken links in the package documentation.
284+
285+
### Features
286+
287+
* Added support for additive scenes.
288+
289+
## [0.1.0] - 2022-11-15
290+
291+
This release adds the Multiplayer Play Mode, which is a multiplayer development workflow aiming to offer a more efficient and quick development cycle of multiplayer games. The tool enables opening multiple Unity Editor instances simultaneously on the same development device, using the same source assets on disk.
292+
293+
### Known issues
294+
295+
* Player windows can't be reopened if they're closed during Play Mode
296+
* Virtual Players can remain in Play Mode after the main Editor Player has exited in certain circumstances, such as if script changes are made during Play Mode and the “Stop Playing and Recompile” option is active.
297+
* Entering Play Mode with multiple scenes open isn't currently supported
298+
* Virtual Players lose some Game view settings, such as Aspect Ratio, when exiting and entering Play Mode
299+
* Opening a Virtual Player with unresolved script updater issues will cause an API Update prompt to appear
300+
* Scripts won't be reloaded correctly in Virtual Players with “Enter Play Mode” settings set with “Reload Domain” disabled
301+
* In some cases, an error may appear in Virtual Player windows indicating that assets were imported when they weren't supposed to be
302+
* Non-Prefab assets like Scriptable Objects aren't synced to Virtual Players unless you save your scene or invoke the Save Project command
303+
* Authentication with UGS won't work without manually overriding configuration values at runtime
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
id: about
3+
title: About Multiplayer Play Mode
4+
description: Overview of Multiplayer Play Mode
5+
---
6+
7+
Use Multiplayer Play Mode to test multiplayer functionality within the Unity Editor. You can simulate up to four Players (the main Editor Player 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+
9+
## Compatibility
10+
11+
Multiplayer Play Mode version 1.4.0-pre is compatible with Unity Editor versions 6000.0.22f1 or later.
12+
13+
## Multiplayer Play Mode terminology
14+
15+
The following have specific meaning in relation to Multiplayer Play Mode:
16+
17+
* main Editor Player: The original instance of the project in the Unity Editor. This is the only instance with full authoring capabilities.
18+
* Virtual Players: Simulated Players created with Multiplayer Play Mode. These Players open in a separate window with limited authoring capabilities when you enter [Play mode](https://docs.unity3d.com/Manual/GameView.html).
19+
* Players: All Player instances, including the main Editor Player and all Virtual Players.
20+
21+
## Limitations
22+
23+
Multiplayer Play Mode has some inherent technical limitations, specifically around [scale](#scale) and [authoring](#authoring).
24+
25+
### Scale
26+
27+
The Unity Editor and Virtual Players require a lot of system resources, so you shouldn't use Multiplayer Play Mode at scale. Multiplayer Play Mode is designed for small-scale, local testing environments that can only support up to four total Players (the main Editor Player and three Virtual Players).
28+
29+
### Authoring
30+
You can't create or change the properties of GameObjects in a Virtual Player. Instead, use the main Editor Player to make changes and a Virtual Player to test multiplayer functionality. Any changes you make in Play Mode in the main Editor Player reset when you exit Play Mode.
31+
:::note
32+
You can't access any main Editor Player functionality from Virtual Players.
33+
:::
34+
35+
## Performance impact
36+
37+
To reduce the demand on system resources caused by each Virtual Player instance, Multiplayer Play Mode shares specific resources, such as the artifact database and imports between the main Editor Player and each Virtual Player.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
id: multiplayer-role
3+
title: Assign Virtual Players to a Multiplayer Role
4+
description: Learn how to use the dedicated server package to assign Virtual Players to a Multiplayer Role.
5+
---
6+
7+
Install the [Dedicated Server package](https://docs.unity3d.com/Packages/[email protected]/manual/index.html) with Multiplayer Play Mode to switch Players between the server and client role without a script.
8+
9+
::: Important
10+
To avoid errors, install the Dedicated Server package version that is the same as the Multiplayer Play mode version that exists in your project.
11+
:::
12+
13+
## Set the main Editor Player Multiplayer Role
14+
15+
To set the role of a the main Editor Player, do the following:
16+
17+
1. Open the Multiplayer Play Mode inspector (**Multiplayer** > **Multiplayer Play Mode**).
18+
2. In the **main Editor Player** section, expand the **Multiplayer Role** dropdown.
19+
3. Select the [Multiplayer Role](https://docs.unity3d.com/Packages/[email protected]/manual/multiplayer-roles.html) you want the main Editor Player to use.
20+
21+
## Set the Multiplayer Role of a Virtual Player
22+
23+
To set the role of a [Virtual Player](../../virtual-players), do the following:
24+
25+
1. Open the Multiplayer Play Mode inspector (**Multiplayer** > **Multiplayer Play Mode**).
26+
2. In the **Virtual Players** section, expand a Virtual Player's **Multiplayer Role** dropdown.
27+
3. Select the [Multiplayer Role](https://docs.unity3d.com/Packages/[email protected]/manual/multiplayer-roles.html) you want this Player to use.

0 commit comments

Comments
 (0)