-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Labels
Description
Description
Events such as GKTurnBasedMatch.TurnEventReceived or GKTurnBasedMatch.ExchangeReceived are not received by Unity. Note that GKTurnBasedMatch.TurnEventReceived is received if you request the GKTurnBasedMatchmakerViewController and select the current match in the Apple GameCenter UI.
Steps To Reproduce
- In the Unity GameKit_Sample scene start a Turn Based Match by inviting a friend through the "Show Turn Based Matches" button.
- Press "TakeTurn" to pass the turn to the second player.
- On the second device press "Show Turn Based Matches" and select the new match. In the Log Window note that a "Match Turn Ended" event is correctly received.
- On the second device press "TakeTurn" to pass the turn to the first player.
- On the first device no event is received for the new turn. Expected result: TurnEventReceived / TurnBasedMatchesPanel.OnMatchTurnEnded should be called
- On the first device press "Show Turn Based Matches" and select the current match.
- Note that now the TurnEventReceived is received.
Expected behavior
Events should be received by the Unity callbacks.
Remarks
Using GKTurnBasedMatch.LoadMatches() you can successfully receive match data and exchanges as a workaround by polling.
Tested on
- iPadOS 26.1
- Unity 6.2.6f2