We are using self hosted Photon Server and Photon Server Plugins with PUN. We are using PhotonNetwork.JoinRandomRoom and other PhotonNetwork commands to handle networking.
For Server Plugins callbacks to work the client needs to call for example OpCreateRoom, OpJoinOrCreateRoom or OpJoinRoom so that the server could send data to clients with BroadcastEvent. However, the basic PUN plugin doesn't provide these. To my knowledge the methods are in LoadBalancingClient, which is not included in PUN.
How can I implement LoadBalancingClient or is there another way to call OpJoinRoom and other operation methods? The basic PUN and Photon Server behaviours are enough for our game for now, so I wouldn't want to implement anything major if that can be avoided. We only need the Plugin to pass JSON data to Unity clients.
For Server Plugins callbacks to work the client needs to call for example OpCreateRoom, OpJoinOrCreateRoom or OpJoinRoom so that the server could send data to clients with BroadcastEvent. However, the basic PUN plugin doesn't provide these. To my knowledge the methods are in LoadBalancingClient, which is not included in PUN.
How can I implement LoadBalancingClient or is there another way to call OpJoinRoom and other operation methods? The basic PUN and Photon Server behaviours are enough for our game for now, so I wouldn't want to implement anything major if that can be avoided. We only need the Plugin to pass JSON data to Unity clients.