Install PUN and the character controller first, then configure a Photon App ID before applying the add-on’s scene, character, and object setup.

Import the packages

Before you import the PUN Multiplayer Add-On ensure that you have first imported:

After the import compiles without errors, continue with the Setup workflow for your own scene.

Run the demo scene

The PUN Multiplayer Add-On contains two demo scenes: a main menu and the actual demo scene. The Ultimate Character Controller demo assets are required by these demo scenes. There are a few steps required before being able to play the demo scene:

  1. Ensure you have set your Photon App ID.
  2. Open the Demo scene and save the file. An editor script will automatically run ensuring all of the correct references are setup.
  3. Add the Menu and Demo scenes to the Unity Build Settings.

Start from the Menu scene rather than opening the gameplay scene directly. Confirm that one client can create a room and a second client can join it before using the demo as a reference for your own project.