Create room failed while “isPersistent” = true
Options
We used photon webhook to manage game room list. "PathGameProperties" was tirggered while we set our room properties. But I can only get the parameter of "Properties".https://doc.photonengine.com/en-us/realtime/current/gameplay/web-extensions/webhooks#pathgameproperties It was said that the parameter of "State" (like IsOpen, IsVisible) is sent only if “isPersistent” = true.
When i set the "IsPersistent" to true, I found that i cant creat any room in a unity test project.
What should I do?
When i set the "IsPersistent" to true, I found that i cant creat any room in a unity test project.
What should I do?
0
Best Answers
-
Apparently this got discussed via mail.5
-
Hi @yyc,
I already replied via email.
Please, do not open multiple simultaneous support tickets/channels.
Other than "IsPersistent", you need to set web flag.
Not sure which client SDK you use but you should be able to set SendState web flag in the SetProperties call.when i set the "IsPersistent" to true, I found that i cant creat any room in a unity test project.
What should I do?
You should test the implemented webhooks in your web service, they should return the expected format.
Check the error logs to see why this fails.
Depending on the client SDK you use there might be a room join or room create failure callback.
I will also add the following:
Why do you need the State at all?
Maybe you can get whatever you need otherwise?5
Answers
-
Apparently this got discussed via mail.5
-
Hi @yyc,
I already replied via email.
Please, do not open multiple simultaneous support tickets/channels.
Other than "IsPersistent", you need to set web flag.
Not sure which client SDK you use but you should be able to set SendState web flag in the SetProperties call.when i set the "IsPersistent" to true, I found that i cant creat any room in a unity test project.
What should I do?
You should test the implemented webhooks in your web service, they should return the expected format.
Check the error logs to see why this fails.
Depending on the client SDK you use there might be a room join or room create failure callback.
I will also add the following:
Why do you need the State at all?
Maybe you can get whatever you need otherwise?5