Ex master dont receive buffered RPC
Options
So, here's situation. Master client sends RPC with
Why is it and how to fix it?
PhotonTargets.AllBufferedViaServer
. All new clients receives this RPC. If any of client that is already in room and received it then leaves this room and join again, they receive it again, that's how it should work. But if master itself leave the room and join, he won't receive RPC.Why is it and how to fix it?
0
Comments
-
Hi @Dimar,
when a client leaves the room, his buffered events will be removed by default. You can avoid this by settingRoomOptions.CleanupCacheOnLeave
to false when creating the room. You can find this information on the Cached Events documentation page.
Please note, that the longer the list of buffered events is, the longer it takes to join the room.0