Crashing Game w/ Unity 4.5.5p3/4.6.x and Lollipop 5.1

Hi all

Since a few days we get lots of 1 star ratings as our game (last APK update December 14) keeps crashing. We isolated the issue to Lollipop.
The December 14 APK was built with Unity 4.5.5p3 and never experienced any Problems. Users report the game to crash on Android 5 and 5.1, we could only reproduce it on a Nexus 4 device and only with Android 5.1 (5.01 worked perfectly). To make it even stranger, we have more than one user writing us, that the game was ok after the Android update but after a few days it began crashing and never stopped since then.

Reading the forums, we tried rebuilding the app with Unity 4.6.4p4 and 46.2p2 and reinstalled the Android SDKs. No changes in behaviour.

In the montior’s logcat output I only get normal log messages (i tried to figure out the crashing point, but no luck) and then all of a sudden only the breakpad microdump (anyone experience in reading this?). i post the output with comment below.

Any hint finding the issue would be gratefully appreciated!
Thanks + Grx

logcat dump, at the beginning you can see the last debug.log coming through:

Not sure it helps, but these reported crash look similar (the stack trace partially match):

https://code.google.com/p/chromium/issues/detail?id=481937

What are you doing around the time it crashes ? Also, do you have information on the type of device(s) and OS version that crashes for your users ?

Hello. I have same problem too.
In my case ,It occurs in Nexus7( Android 5.0.2) and Nexus4(5.0.1).
but , I can’t see the crash in Nexus7(Android 4.4.2).

Nexus7( Android 5.0.2) and Nexus7(Android 4.4.2). are each different devices.
I attached log!!

2092381–136872–game_crash_log.txt (49.7 KB)

Not sure what happens there by the log, but it shows some error before the crash:

04-27 15:05:18.513: D/ConnectivityManager.CallbackHandler(647): CM callback handler got msg 524290
04-27 15:05:21.163: W/Unity(27731): The referenced script on this Behaviour is missing!
04-27 15:05:21.163: W/Unity(27731):
04-27 15:05:21.163: W/Unity(27731): (Filename: Line: 1771)

Hi sorry for my late reply, the days round 1st of may are a short public holiday here in Zurich…

I’ll look into your link to the issue tracker closely, liortal!

Around the time it is crashing, I was modifying a sprite using tk2d, so i suspected it was this operation or tk2d. But then i startet isolating all tk2d code and it just crashed either before or when i completely skipped the operations, it just crashed afterwards, somehow random.
It’s in the game intro, where you can select different players and weapons. If i leave it inside, it crashes selecting the weapon, if i hardcode the weapon it crashes even before, if i take it out it crashes afterward starting the game. Always without any real message.

One thing i was thinking about: Is 5.x managing memory different? We had somehow a similar behaviour when we tried to port our game to Windows phones. The Lumina crashed too a bit random, but always with a clear memory warning.

Is there an easy way to decipher the breakpad microdump? Did not find anything i could use, but did also not yet google it extensivly. Or are somwhere more clear crashreports on the Android device than i can see in logcat?

I’m on this issue again in about 16 hours, when I’m back in the office.

Update:
Last weeks Unity Update (4.6.5, Download Archive) seems to fix the issue for us.
Although I still do not know, what was wrong.
We just rolled out an Update to Play Store and will be closely watching the reviews, if there are still some devices crashing or if its globally fixed.

Thanks for your hints!