Ex master dont receive buffered RPC

Options
So, here's situation. Master client sends RPC with 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?

Comments

  • Hi @Dimar,

    when a client leaves the room, his buffered events will be removed by default. You can avoid this by setting RoomOptions.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.