Version: 1.2.0
Assign Virtual Players to a multiplayer role
Install the Dedicated Server package with Multiplayer Play Mode to switch Players between the server and client role without a script.
::: Important To avoid errors, install the Dedicated Server package version that is the same as the Multiplayer Play mode version that exists in your project. :::
Set the main Editor Player multiplayer role
To set the role of a the main Editor Player, do the following:
- Open the Multiplayer Play Mode inspector (Multiplayer > Multiplayer Play Mode).
- In the main Editor Player section, expand the Multiplayer Role dropdown.
- Select the multiplayer role you want the main Editor Player to use.
Set the multiplayer role of a Virtual Player
To set the role of a Virtual Player, do the following:
- Open the Multiplayer Play Mode inspector (Multiplayer > Multiplayer Play Mode).
- In the Virtual Players section, expand a Virtual Player's Multiplayer Role dropdown.
- Select the multiplayer role you want this Player to use.