Skip to main content

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.

Set the main editor player multiplayer role

To set the role of a the main editor player, do the following:

  1. Open the Multiplayer Play Mode inspector (Multiplayer > Multiplayer Play Mode).
  2. In the Main Editor Player section, expand the Multiplayer Role dropdown.
  3. Select the multiplayer role you want the main editor to use.

Set the multiplayer role of a virtual player

To set the role of a virtual player, do the following:

  1. Open the Multiplayer Play Mode inspector (Multiplayer > Multiplayer Play Mode).
  2. In the Virtual Players section, expand a virtual player's Multiplayer Role dropdown.
  3. Select the multiplayer role you want this player to use.