Hi, I'm able to connect to Photon using photon add-on, Create room, connect 2 clients and play a match successfully. But Photon webhooks in CloudScript is not triggered (RoomCreated, RoomJoined, RoomLeft,RoomEventRaised ...) am i missing something?
Hi, I'm able to connect to Photon using photon add-on, Create room, connect 2 clients and play a match successfully. But Photon webhooks in CloudScript is not triggered (RoomCreated, RoomJoined, RoomLeft,RoomEventRaised ...) am i missing something?
Can you confirm that you are using the Photon App ID from the Photon add-on marketplace page for your title? If so, what is the Title ID, so that we can have a look?
Everything in the configuration looks good - what App ID are you using in Photon? Are you getting any errors when you make calls to Photon for joining rooms, etc.?
8ea08d48-8f47-4550-a829-bbbe7f540c3b
No i'm not getting any errors.
So, the 8ea08d48... ID is a Photon Realtime App ID. Looking at your title though, I see that most of the Photon webhook handlers from our example Cloud Script (which you can find in revision 1) are missing. The only one I see in your live Cloud Script revision is RoomEventRaised. Can you try adding the others?
finally, i get it working, turn out i forgot to set PhotonNetwork.PhotonServerSettings.AppID, anw thank you for your support
2 People are following this question.