try delay the onpost login a bit. maybe players are not registered instantly.
also check num of players with the length of player array from gamestate.
this is what i do in my game: