docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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:

    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 Player 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.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)