First, we connect to the Photon Region (ex.The way multiplayer is handled in PUN 2 is: Now let's move to the part where we actually create a multiplayer game. In PUN Wizard click "Setup Project", paste your App ID then click "Setup Project".Go back to your Unity project then go to Window -> Photon Unity Networking -> PUN Wizard.Once the Application is created, copy the App ID located under the App name.You can read more about Pricing Plans here On the creation page, for Photon Type select "Photon Realtime" and for the Name, type any name then click "Create"Īs you can see, the Application defaults to the Free plan.On the Applications page click "Create new app".Go to the Applications page by clicking the profile icon then "Your Applications" or follow this link:.Create a new account (or log in to your existing account).After the package is imported you need to create a Photon App ID, this is done on their website:.
#Unity 3d multiplayer download
Search for " PUN 2- Free" then click the first result or click here.Open your Unity project then go to the Asset Store: (Window -> General -> AssetStore) or press Ctrl+9.It contains all the scripts and files required for multiplayer integration. The first step is to download a PUN 2 package from the Asset Store. Unity version used in this tutorial: Unity 2018.3.0f2 (64-bit) Part 1: Setting up PUN 2 In this post we will be running through downloading the necessary files, setting up Photon AppID, and programming a simple multiplayer example. PUN 2 is the latest release of their API which has been greatly improved compared to the legacy version. One of such services is Photon Network, which we will be using for this tutorial. Nowadays there are numerous services that take care of server hosting. Unlike single-player games, multiplayer games require a remote server that plays the role of the bridge, allowing game clients to communicate with each other. Ever wondered what it takes to create a multiplayer game inside Unity?