question

zombiedoctor avatar image
zombiedoctor asked

gamecircle login stays as guest (Unity App)

hi i am developing a unity game and after successfully integrating the amazon In-App purchasing api i need to integrate GameCircle Leaderboards on the kindle app but the gamecircle/leaderboard overlay says you are logged in as guest which is why i can't submit scores thru AGSLeaderboardsClient.SubmitScore which returns fails and "UNRECOVERABLE" error i have generated a new API key as well as created a new leaderboard with my Nicknames but still the gamecircle won't sign in. here is the DDMS Logcat: 11-27 19:19:12.212: I/Unity(25387): Submitting high score 11-27 19:19:12.212: I/Unity(25387): 11-27 19:19:12.212: I/Unity(25387): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54) 11-27 19:19:12.212: I/Unity(25387): 1070 11-27 19:19:12.212: I/Unity(25387): 11-27 19:19:12.212: I/Unity(25387): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54) 11-27 19:19:12.244: I/Unity(25387): Hurrah 11-27 19:19:12.244: I/Unity(25387): 11-27 19:19:12.244: I/Unity(25387): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54) 11-27 19:19:13.111: I/Unity(25387): AmazonGameCircle: GameCircleManager - submitScoreFailed 11-27 19:19:13.111: I/Unity(25387): 11-27 19:19:13.111: I/Unity(25387): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54) 11-27 19:19:13.111: I/Unity(25387): HighScores 11-27 19:19:13.111: I/Unity(25387): 11-27 19:19:13.111: I/Unity(25387): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54) 11-27 19:19:13.111: I/Unity(25387): Post Score Failed 11-27 19:19:13.111: I/Unity(25387): 11-27 19:19:13.111: I/Unity(25387): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54) 11-27 19:19:13.111: I/Unity(25387): UNRECOVERABLE
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Bipin@Amazon avatar image
Bipin@Amazon answered
The AGSClient.ServiceReadyEvent is called when the Game Circle initialization succeeds and clients are ready to use.Once the event is received, you can submit the score. We can use the signin button on the initialization pop up or the Game Circle beach ball icon on the softkey bar to sign in, if the user is in guest mode. AGSClient.ShowGameCircleOverlay() can be used on a button, to pop up the login screen. What device are you testing in and what is the Gamecircle runtime version ?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Richard Castro avatar image
Richard Castro answered
The social script for unity needs more work. Unity use authetication for user's login but the amazon implementation is using authentication as initialization for the plugin. Never go to the sign in process. The unity ISocialPlatform is a one pass sign in process and the amazon is two pass sign in. you never sign in the user, just init and stay as guest
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.