question

JasonU avatar image
JasonU asked

Doesn't log in as the correct user - says you are a guest. (Unity App).

Hi. When I open my Unity app on a device the GameCircle box that pops up near the bottom states that I am a Guest even though I have logged in to my GameCircle account on other apps that use it. Other GameCircle enabled apps log me in automaticaly when I open them for the first time as opposed to my app stating that I am a guest. On the Amazon devices there is no "Log in" button available on this white box at the bottom of the window, whereas when I play it on a Google Android device the "Log in" button is there to the right. How can I have the user automatically log in to GameCircle when they open the app? I am using Unity 4.2.0f4 with the Unity SDK available from the developer portal. Leaderboards work correctly after a user logs in to their GameCircle account. Users can only log in on a non-Amazon device as they are the only ones with the "Log in" button.
10 |5000

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

JasonU avatar image
JasonU answered
I am also getting this error message in a light red box near the top of the screen: "Sorry an error occurred. Please try again later." I assume that's related somehow?
10 |5000

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

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi JasonU, Thank you for your post. Have you white listed the nick name of your account in in your game circle settings in developer portal? If not, please follow this link : https://developer.amazon.com/sdk/gamecircle/documentation/sandbox.html#Section2
10 |5000

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

Steve Jones avatar image
Steve Jones answered
Hi Sujoy. Yes I've added the nickname. I have also seen that I am getting the error message; authResult: CANNOT_AUTHORIZE I've followed another of your posts (see link below) referring to this error message in which you have stated that "it is most likely that you have not registered the package name and signature of the game build properly." https://forums.developer.amazon.com/forums/message.jspa?messageID=3909 I have gone through the process of finding the MD5 hash with the keystore file that I'm using and it is the same as the current one so I don't think this is the issue? I am also using the correct package name (com.company.appname). What else could I be doing wrong? Also, why do the api keys on the security profile change every time you refresh the page? How are they supposed to link up to the api key in my text file within the apk if they slightly change all the time? Thanks.
10 |5000

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

JasonU avatar image
JasonU answered
Sujoy, I've posted as the wrong account but this is me! Thanks.
10 |5000

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

JasonU avatar image
JasonU answered
I managed to get it working by making a new Key / Key Alias for the Keystore I was using. I then had to get the MD5 hash in order to generate the api key which I put into the Unity project.
10 |5000

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

David Whittaker avatar image
David Whittaker answered
I think my app is having this problem too (Robot Maze). Can someone verify this for me? I haven't tried creating a new key in the keystore, but I will try that. What's strange is that in testing, my GameCircle account name showed up just fine, and now that it's in production, it just shows up as "Guest." Any other advice for things to try?
10 |5000

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

David Whittaker avatar image
David Whittaker answered
I'm not sure if someone from AmazonDev saw my post and did something, but all of the sudden this morning it is working without me having done anything. So thank you, mysterious god of bits!
10 |5000

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

mound-he avatar image
mound-he answered
Hi, I have the same problem, anyone know solution ?
10 |5000

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

mick-idreams avatar image
mick-idreams answered
Hi. Is there any solution for this issue? Everything works great (sandbox users) on generic android devices but Kindle Fire logs in as Guest user only. I've tried several Unity3D games available on Amazon App Store. All GameCircle 1.x powered titles works perfectly. GC 2.x powered „Strike Fighters” app have the same problem. Is there something wrong with project setup? Example GameCircle project with clean AndroidManifest have the same problem. Api_key.txt is signed as production title.
10 |5000

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

YUQI TIAN avatar image
YUQI TIAN answered
Hi. I have the same issue. On other android device ,when the "Welcome,guest" box coming out on the bottom of the screen,there is a "connect" button, but on Kindle 2nd there is not. Even if I clicked the box, in the new box it says that "You are a Guest,Sign in to customize your profile." But there is no "login in" button which shows on other android device. Why Amazon GameCircle cannot support their own device? Does anybody solved this problem?
10 |5000

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