3D Quick Start

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

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.

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. Resources>CollectiblePrefab2D.prefab

  2. PlayerPrefabForMultiplayer_2D.prefab

  3. VR_PlayerPrefabForMultiplayer.prefab

  4. The Whole 'Samples' folder.

  5. Scenes>2D Demo.unity

  6. Scenes>VR 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. From your Photon Engine Dashboard, 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.

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

  3. 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. Find the region codes here.

Play the Demo Scene

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

  1. Hit 'Play' in the editor.

  2. Click a button to choose a 'public' or 'private' room.

  3. Use WASD to move and space key to jump.

Last updated