Skip to content
Snippets Groups Projects

Authentication appears when pressing game center button.

Closed Lukas Woyke requested to merge 29-improvement-game-center-integration into master

Closes #29

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Chan Yong Lee approved this merge request

    approved this merge request

  • Please merge master into this branch :exclamation:

    Edited by Eunae Jang
  • :bug: I saw the error messages as follows when I turned off the game center in the setting:

    2021-01-11 21:12:37.078193+0100 Better Together[2108:36597] [Error] _authenticateUsingAlert:Failed to authenticate player with existing credentials.Error: Error Domain=GKErrorDomain Code=6 "The requested operation could not be completed because local player has not been authenticated." UserInfo={NSLocalizedDescription=The requested operation could not be completed because local player has not been authenticated.}
    2021-01-11 21:12:37.084909+0100 Better Together[2108:36597] [Account Error] startAuthenticationForExistingPrimaryPlayer:Failed to Authenticate player.Error: Error Domain=GKErrorDomain Code=2 "The requested operation has been canceled or disabled by the user." UserInfo={NSLocalizedDescription=The requested operation has been canceled or disabled by the user.}
    2021-01-11 21:12:37.085199+0100 Better Together[2108:36597] [Account Error] authenticationDidCompleteWithError: Authentication failed for player with error: Error Domain=GKErrorDomain Code=2 "The requested operation has been canceled or disabled by the user." UserInfo={NSLocalizedDescription=The requested operation has been canceled or disabled by the user.}
    Error authentication to GameCenter: The requested operation could not be completed because local player has not been authenticated.

    If a user doesn't turn on the game center option in the setting, the entire app is not working in current implementation. Is there any way to handle this?

  • Screen_Recording_2021-01-11_at_9.17.42_PM

    :question: And the finding player popup is slightly coming later than the GameScene view. And even I click the close button at the right top corner, the GameScene is shown.

    In my opinion, the player match popup should be shown inside PlayerModeSelectorView, for example, as popup and the Start Game button can only connect to GameScene in team play mode as meaning of the game is ready to start with all players.

    Edited by Eunae Jang
  • closed

Please register or sign in to reply
Loading