Create a new Unity project, or one that has not been imported into Photon Unity Networking Free.
Find the Photon Unity Networking Free plugin on the store page.
Import, because the Photon account has been registered.
Here you need to fill in the AppId to create the project. Go to the next step and log in to Photon's official website address: https://www.photonengine.com/en/PUN
Get the AppId and then fill in this field.
Photon official website address: https://www.photonengine.com/en/PUN
Sign up for a Photon account without an account.
Enter the email address, and the account password registered in photon.
Go to the Dashboard page. This is the App page.
Create a new App
Go back to Unity and paste the App ID you just copied. Setup Project
The system automatically creates a PhotonServerSettings.asset file.
References:
1. [Unity&photon] A detailed step-by-step tutorial for importing photon into Unity
2. Photon Unity Networking Case (1)
3.
4.
5.
6.