Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Third Party Photon not loading

Discussion in 'Multiplayer' started by Mylvern, Nov 1, 2023.

  1. Mylvern


    May 5, 2023
    Hello. I have a working version of Unity with Photon on it. I tried to push it on git and get it somewhere else, to try if multiplayer worked, but I have several errors relating to ServerSettings.

    Here are the errors:


    Also, PhotonServerSettings is missing.
  2. qbvbsite


    Feb 19, 2013
    I think when pushing to fit it’s missing some required files. I have similar issue on my project but just having had a chance to dive deeper into it. Ideally I want to pull it down from git and have it run. If I figure it out I’ll post the solution hear.
  3. tobiass


    Apr 7, 2009
    If you share the PUN project with a team or just put it in version control, it should be enough to just include the complete Photon folder and it's .meta file. Maybe on check out, the new / changed files mess with the ones in the Library folder, so deleting that sometimes makes sense.
    ServerSettings are a Scriptable Object and the PhotonServerSettings file should be auto generated by PUN to set an AppId. Also commit the PhotonServerSettings.