🧑‍🤝‍🧑
The Ultimate Playmaker Multiplayer Template
  • Welcome to the Documentation for The Ultimate Playmaker Multiplayer Template
  • 🟦2D
    • 2D Quick Start
    • 2D Deep Dive
  • 🧊3D
    • 3D Quick Start
    • 3D Deep Dive
  • 🥽VR
    • VR Quick Start
    • VR Deep Dive
  • Other Templates and Demo Scenes
    • 2D with Voice Chat and Indicator
    • Room List Demo
    • Chat Room Demo
  • 🐛Bugs & Feature Request
    • Bugs
    • Feature Request
Powered by GitBook
On this page
  • Install the required Dependencies First:
  • Install The Ultimate Playmaker Multiplayer Template Package
  • Create your Photon App ID
  • Put your App ID into your Unity Photon Server Settings
  • Play the Demo Scene
  1. VR

VR Quick Start

Follow these steps to get started with your 3D project.

Previous3D Deep DiveNextVR Deep Dive

Last updated 3 years ago

Make sure you've installed all the dependencies before installing this package

Install the required Dependencies First:

  1. The latest version of Unity 2020 LTS is recommended (i.e. 2020.3.29f1)

  2. Install 'Input System' from Unity's Package Manager (Version 1.3.0 or later)

  3. Once you've installed the Playmaker Ecosystem Package, use it and search PUN 2 and install the PUN 2 package.

  4. Install XR Interaction Toolkit from Window>Package Manager. Choose 'Unity Registry' from the packages drop down.

  5. Install XR Plugin Management in 'Project Settings' (Edit>Project Settings>XR Plugin Management)

  6. Checkmark any plugins you need on both the PC tab and the Android tab.

Install The Ultimate Playmaker Multiplayer Template Package

You can install the whole package if you want to, but if you're only going to be working with 3D, it would be better if you didn't install the assets that are for 2D or VR.

Import The Ultimate Playmaker Multiplayer Template Package, but uncheck the following items.

  1. Imports Folder

  2. Resources>CollectiblePrefab2D.prefab

  3. PlayerPrefabForMultiplayer.prefab

  4. PlayerPrefabForMultiplayer_2D.prefab

  5. Scenes>2D Demo.unity

  6. Scenes>3D Demo.unity

Create your Photon App ID

  1. Go to https://www.photonengine.com and create an account if you haven't already.

  2. Go to your Dashboard by clicking 'Dashboard' in the top right of the webpage.

  3. From your Dashboard, click the 'Create a New App' button.

  4. Set 'Photon Type' to 'PUN'.

  5. Create a name for your app.

  6. Click 'create' (the rest of the fields on this page are optional.

Put your App ID into your Unity Photon Server Settings

  1. Inside your Unity Project, go to Window>Photon Unity Networking>Highlight Server Settings (or you can use hotkeys CTRL+Shift+ALT+P)

Play the Demo Scene

You should have everything you need now to play the 'VR Demo Scene' (search for it in your project tab).

  1. Hit 'Play' in the editor.

  2. Use the VR controllers to point at the button and press the index trigger to select the button.

  3. Use the left joystick to move. Use the 'A' button on the right hand controller to jump.

From your , find the App you created in the previous section. The app ID should be partially displayed under the title of your app. Click on it to view the full ID. Use CTRL+C on your keyboard to copy the app ID.

Paste your App ID (using CTRL+V on your keyboard) into the 'App ID PUN' field. The only other fields you should mess with are the 'App Version' if you want to (but its not necessary), Fixed Region, and Dev region fields. While testing, I like to keep the Fixed Region and Dev regions set to my region, to ensure all my players end up in the same room while testing.

🥽
Photon Engine Dashboard
Find the region codes here.
The latest version of Playmaker (1.9.4.f2)
Install the latest version of PUN 2 FREE from the Unity Asset Store.
Download and Install the Playmaker Ecosystem Package.
Install the TextMeshPro UGUI Playmaker Actions
Step 3 - Install the new input system
Step 6 - Once you've installed the Playmaker Ecosystem Package, use it and search PUN 2 and install the PUN 2 package.
Step 8 - Install the XR Interaction Toolkit
Step 9 - Install XR Plugin Management Via Edit>Project Settings>XR Plugin Management
Step 10 - Select XR Plugins you will use.
Steps 4, 5, and 6.
Copy your app ID.
Be sure your input your PUN App ID