This document is about: FUSION 2
SWITCH TO

Project Setup

Package Import

Please follow this step-by-step guide to resolve common problems during Unity Asset Store package import process.

  1. Create a new Unity 3D project. We recommend using Unity 2022.3.11f1.
  1. Open Package Manager and import Simple FPS package.
  1. In project settings overwrite warning, select Import.
  1. In package dependencies warning, select Install/Upgrade.
  1. The sample uses the new Input System package which requires Unity Editor to restart, select Yes.
  1. The Unity Editor automatically restarts. Unfortunately the import process doesn't continue, please repeat steps 2, 3, 4. This time you'll not need to restart the Unity Editor again.
  2. On Import Unity Package (Step 1), select Next.
  1. On Import Unity Package (Step 2), select Import.
  1. The package will be imported into the project.
  2. If the Photon Fusion Hub pops up, fill in the Fusion 2 AppId - more info in Project Setup
  1. Open Scenes/Startup or Scenes/Deathmatch scene and enter Play mode.

Project Setup

To run the sample, the Fusion 2 AppId needs to be assigned in the PhotonAppSettings asset.

First, create a Fusion 2 AppId in the Photon Engine Dashboard and paste it into the App Id Fusion field in the PhotonAppSettings (reachable from the Tools/Fusion/Realtime Settings menu or directly modifying file Assets/Photon/Fusion/Resources/PhotonAppSettings.asset).

PhotonAppSettings

To run the game, follow instructions in Starting The Game section.

Back to top