Free account limits:

20CCU - max 16 in room

Install the SDKs (first pun2 and afterwards the others if needed like photon voice)

Usings ⇒ Photon.Pun

  ⇒Photon.Runtime

Important overrides if deriving from MonoBehaviourPunCallbacks

Called when the client is connected to the Master Server and ready for matchmaking and other tasks.

The list of available rooms won't become available unless you join a lobby via LoadBalancingClient.OpJoinLobby. You can join rooms and create them even without being in a lobby. The default lobby is used in that case.

Creating a NetworkManager

Server

We need the following info to connect to the server:

Room

When connected to the serve we can assign other values to access the room: