Fake Game Center Player Disables Messages

I am finishing an update for a game with a 4-player game player, and I suddenly have problems with messages about disconnecting false players that I did not have in the previous version. More strange is that not all devices connected to the match receive a message. On one device, it will be considered that the player is disconnected, but a message is still being sent from the (presumably) disconnected player to other players.

These messages come directly from the matching instance via match: player: didChangeState: messages, so I donโ€™t think it will be something in my code, but it doesnโ€™t make much sense. The game can progress for 10+ minutes without any problems, and as soon as one weird disconnect comes, the rest fall out pretty quickly.

I searched the Internet for all search terms that I can think of to see if others have seen this behavior, and it seems to be unique. It should be something in my code, but I can't even think about how to get to it.

Any help would be greatly appreciated, Cameron

+4
source share
1 answer

Be sure to call this:

    //Finalize
    [[GKMatchmaker sharedMatchmaker] finishMatchmakingForMatch:match];

, . , , , .

-1

All Articles