Get wrong friend state on server
Options
atworld
✭
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
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
0
Comments
-
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 ,,
0 -
you did not provide server sdk version, which you are using
best,
ilya0 -
i assume that you are using last
Please check that GameState.OnPeerFailedToJoinOnGameServer method is called and does exactly what it should do.
best,
ilya0