Authentication appears when pressing game center button.
Closes #29
Merge request reports
Activity
changed milestone to %Multiplayer functionality
added Doing Improvement labels
Please merge master into this branch
Edited by Eunae Jang 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
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