Hello, i'm implementing the Photon PUN with Playfab, followed the two guides (Photon and Playfab) but it seems that Playstream is not showing the proper events. My Webhook config and the cloud server code is attached below.
PS: Authentication is working normally.
Answer by Hamza Lazaar · Mar 20, 2018 at 10:03 PM
how did you test this?
1- Authenticated with Photon + PlayFab
2- Created a Room
Accordingly with the example it should printed the message "room_created" on the Playstream but none was shown.
Looking at your event history (https://developer.playfab.com/en-us/422/playstream/event-history), I see a number of room_created events. What did you do differently in those cases?
I really don't now, because with each player_logged_in it should have another room_created or room_joined. (Players log in then automatically join a room, if it doens't exit then a room is created).
Rarely some events like room_left show, but not consistently.
If the webhook is called, the Cloud Script handler will be run. It sounds like what you're saying is that the webhook is being called inconsistently. If that's the case, I'd recommend posting to the Exit Games forums for support on this. If I'm misinterpreting you though, please do let us know the specifics of your repro case, and we'll have a look.
Photon webhooks are not triggered 2 Answers
webRpcResponse.Parameters are coming up null / RoomCreated not being called 4 Answers
Photon webhooks not wokring 2 Answers
Achievement system + Photon webhooks 2 Answers