Test multiplayer functionality
Understand how to test multiplayer functionality with the Unity Multiplayer Play Mode package and the ParrelSync extension.
To test multiplayer functionality locally, you can use the Multiplayer Play Mode package, or the ParrelSync Unity Editor extension. The following sections describe how to install both options.
Important
You can't use Multiplayer Play Mode and ParrelSync together.
Multiplayer Play Mode
Multiplayer Play Mode is a Unity Package that allows users to test multiplayer gameplay without building the project. This package enables you to simulate four consecutive players (one Unity Editor and three virtual players) within the same Editor instance.
Refer to the Multiplayer Play Mode documentation to learn more about this package.
Install Multiplayer Play Mode
To install the Multiplayer Play Mode package:
- Backup your project folder or use a version control system such as Git or SVN.
- Navigate to Window > Package Manager > Unity Registry > Multiplayer Play Mode.
- Select Install.
Note
When you create Virtual Players, ensure you assign unique tags for each virtual player created, otherwise you’ll experience authentication issues.
ParrelSync
ParrelSync is a Unity Editor extension that allows users to test multiplayer gameplay without building the project. It opens another Unity Editor window and mirrors the changes from the original project.
Install ParrelSync
To install ParrelSync:
- Backup your project folder or use a version control system such as Git or SVN.
- Navigate to Window > Package Manager. Select the **+**dropdown, then select Add package from git URL.
- Enter
https://github.com/VeriorPies/ParrelSync.git
on the input field and select Add. - If installed successfully, ParrelSync appears as an item in the main menu.
Additional resources
- Install and upgrade ParrelSync (ParrelSync GitHub)
- Known issues