ご留意ください:Photon TrueSyncとThunderの開発は停止されており、今後はアップデートもパリリースされません。既存のアプリケーションへの影響はありませんが、現在開発中のアプリケーションについてはマイグレーションを推奨しています。

Download and Install

Obtaining Thunder

The Photon Thunder SDK and demo game can be obtained for free from the Unity Asset Store by following this link.
You can also search “Photon Thunder” directly from Unity within the Asset Store tab (Ctrl+9 on Win, Cmd+9 on Mac).

Photon Thunder package on the Unity Asset Store
Photon Thunder package on the Unity Asset Store

Then you can import Photon Thunder into a new or existing project directly from Unity.

Photon Thunder import Window
Photon Thunder import Window

What's in the package:

Photon Thunder is organised into four (4) folders:

  1. Demo (optional): assets and scripts for the demo game project;
  2. PhotonThunderPackage (required): Thunder libraries and installation scripts. Do not delete as it is needed in the case you want to revert UNet to its original state;
  3. Plugins (required): Photon Loadbalance runtime library, that's used as transport layer for Thunder;
  4. Resources (required): holds the PhotonThunderConfig file. You'll need to fill it with your Photon application ID, among other settings.

Install

Thunder adds a new item (Thunder) to Unity's menu bar under the Window group:

Thunder Installation Menu
Thunder Installation Menu

To start the installation process, you can just click at the Install menu item shown above.

Installation dialog
Installation dialog

The installation script will make a backup of the original UNet library and replace* it with Photon Thunder. A restart of the Unity Editor is needed so the engine can load the new networking libraries.

*Notice that Photon Thunder replaces UNet for the affected Unity Editor as a whole, so all projects using that copy of the engine will be referencing Thunder instead of Unity's original UNet.

*If you run into problems during the installation, it should be because you are running the Unity Editor without administrator privileges. You can select the application with the right button mouse and click on "Run as administrator" option, as show below:

Running Application as Administrator
Running Application as Administrator

Uninstall

Running Window/Photon Thunder/Uninstall restores the original Unet libraries and removes Thunder.

Uninstall dialog
Uninstall dialog
Back to top