question

adbourdages avatar image
adbourdages asked

Application Not Responding

Hello, I'm using Unity and Game Circle for a game. When I call AGSLeaderboardsClient.ShowLeaderboardsOverlay(), I get an "Application Not Responding" message after a few second after the leaderboards appear - SOMETIMES. Other times, all is good. If I select "Wait" on the dialog box and close the dialog box, the app is working just fine. This happens both on a Kindle Fire 1st gen as well as a Galaxy Note, basically 100% of the devices I've tried it on. Any guidance on this problem that makes the game unreleasable? Best, Alain-Daniel
10 |5000

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

adbourdages avatar image
adbourdages answered
After further testing this also happens with the Unity example scene on a test device. Alain-Daniel
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
ANR happens when long pending action happens on the UI thread , which is main thread. make sure the network connection or any call back should happen on different thread. http://developer.android.com/training/articles/perf-anr.html to debug the issue, go to anr trace --> data/anr/trace.txt.
10 |5000

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

adbourdages avatar image
adbourdages answered
Hello, I appreciate the feedback, however you missed the key point where we are using Unity and Amazon's plugin, so it is not like I have any control on which thread this is called from. In addition, it is happening in the sample provided part of the plugin as well. Best, Alain-Daniel
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
This problem is no more reproducible with the latest plugin. 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.