ParelVRDocs
Player site

Scripting / VoltCS

Multi-client testing

Test networking with several players inside the Unity editor.

ParelVR SDK > Volt > Multi-Client Play Mode makes every play-mode window of your project another player in the same instance, each with its own Game view, its own copy of the world and its own network session. Synced fields, ownership, network events and master hand-over all work as they do in ParelVR.

Adding players#

ParelVR SDK > Volt > Add Players uses Unity's Multiplayer Play Mode to open more players. A second Unity editor on the same project works too.

Other players appear as the loading avatar with their nameplate, posed from their head and hands. World triggers, raycasts and OverlapSpherePlayers find them as players.

Bad connections on purpose#

Volt > Settings can add a delay to every message and drop a share of unreliable ones, so you can see how your scripts cope with a poor connection. The top of the Game view shows who you are, who is master and how many players are in.

Test in VR#

ParelVR SDK > Volt > Test in VR runs play mode in a headset through XR Plug-in Management. Grip grabs, trigger uses, the left stick moves and the right stick turns.