[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?
"..."
), 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?