My game is done, already released on iTunes and Google Play, but I'm stuck in QA with Amazon because the app apparently freezes immediately to black screen on Kindle Fire 1st and 2nd gen devices, specifically:
Kindle Fire(1st Gen),
Kindle fire (2nd gen),
Kindle fire HD 7(2nd gen),
Kindle fire HD 8.9 (2nd gen)
They sent back
[this crash log][1].
[1]: /storage/temp/38367-crash+log.zip
I'm not so good at figuring out these crash logs. My assumption is that the issue is related to initializing Amazon GameCircle, which I use just for leaderboards. I've tested it on all Android devices I have and GameCircle initializes and works fine, but I don't have a 1st/2nd gen Kindle Fire unfortunately. I have the minimum API level in Unity set to level 10 (2.3.3 Gingerbread) to ensure that I'm supporting these older devices. The only thing I can think is that some feature of GameCircle I'm using actually requires an api newer than level 10, hence the crashing on those specific devices that only support api level 10.
I'm only using basic GameCircle leaderboards. Since the game is crashing right away, it would presumably have to be somewhere in this initialization code:
void AmazonInitialize ()
{
AGSClient.ServiceReadyEvent += serviceReadyHandler;
AGSClient.ServiceNotReadyEvent += serviceNotReadyHandler;
bool usesLeaderboards = true;
bool usesAchievements = false;
bool usesWhispersync = false;
AGSClient.Init (usesLeaderboards, usesAchievements, usesWhispersync);
leaderboardID = "leaderboard_ID";
}
private void serviceNotReadyHandler (string error) {
Debug.Log("Service is not ready");
}
private void serviceReadyHandler () {
Debug.Log("Service is ready");
}
This code works fine on every device I've tried. Any idea what could be causing the crash?
↧