Event removed from event cache after player leave the room?

Options
UserA raising an event 10sec (is used EventCaching.AddToRoomCache) before a player call leave room method and other player (UserB) was disconnected in that duration, but as userB got reconnect he is not getting those event via eventcache. As a proof those event which was raised by UserA is reaching server is I have web-hook which is loging all recieved event in a database.

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @ashishhellotech7,

    This is the expected behaviour by default: cached events of actor removed from the actors' list are removed.
    To disable this: create rooms with RoomOptions.CleanupCacheOnLeave = false.
  • Thanks