Photon not loading

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.

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.

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.