Get wrong friend state on server

Options
Hi,
I add new players to a SqlLobby with a unique id and get their states by using FindFriend.everything is good but a player data is wrong.I get IsInRoom = true for him while he closed the game and is not connect anymore.On FindFriend callback room id is filled but the room not exist.how to fix this problem?
thanks

Comments

  • chvetsov
    Options
    hi, @atworld

    how do you test? are you using cloud or local version? which version sdk are you using?

    best,
    ilya
  • atworld
    atworld
    edited October 2017
    Options
    I use self-host version of photon server.Pun version is 1.80
    it occurs after server-side warning:
    2017-10-24 19:58:24,346 [744] WARN Photon.Hive.HivePeer - Game 'f626b965-e9fc-4752-8cd3-8fb49c85c6e4' userId '30463' failed to join. msg:Game does not exists -- peer:GameClientPeer: PID 40650, IsConnected: True, IsDisposed: False, Last Activity: Operation 226 at UTC 10/24/2017 4:28:24 PM in Room ,,
  • chvetsov
    Options
    you did not provide server sdk version, which you are using

    best,
    ilya
  • chvetsov
    Options
    i assume that you are using last

    Please check that GameState.OnPeerFailedToJoinOnGameServer method is called and does exactly what it should do.

    best,
    ilya