Greetings,
We authenticate the player with GameCenter, then after we check for GKLocalPlayer.isAuthenticated == true. Finally we fetch the teamPlayerId but we are seeing "Unavailable Player Identification" returned.
What is the cause of this value being returned? We are required to fetch this property in order to validate the GameCenter authorization via GKLocalPlayer.fetchItems.
Thanks in advance!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
[Match] cannot set connecting state for players: (
"..."
), as there is no inviteDelegate set yet. The state might directly change to Ready when we set the inviteDelegate later and call sendQueuedStatesAndPackets.
We are setting the match.delegate to our implementation of GKMatchDelegate and GKMatchmakerViewControllerDelegate.
It also prints a warning later: [Developer] <Warning>: need to implement one of the following methods in GKMatchDelegate: match:didReceiveData:forRecipient:fromRemotePlayer:, match:didReceiveData:fromRemotePlayer:
However we are certainly implementing that func:
public func match(_ match: GKMatch, didReceive data: Data, forRecipient recipient: GKPlayer, fromRemotePlayer player: GKPlayer) {
print("Data received from player...");
}
Any ideas?