PhotonPeer Not Defined
Options
When I am creating a PhotonPeer to connect to my server, it always show the error
UnhandledPromiseRejectionWarning: ReferenceError: PhotonPeer is not defined. I am at a lost and not sure what to do.
0
Comments
-
Why do you need to create PhotonPeer directly?. Normally, LoadBalancing or Chat API should ne used in client app.
PhotonPeer is defined in Photon namespace: https://doc-api.photonengine.com/en/javascript/current/Photon.PhotonPeer.html0