Open Zamaroht opened 7 years ago
I´m attaching a second log we got that same day from the same device. Application opened and instant crash.
After a few minutes the game started to work fine.
Thanks for the information. We'll take a look. It looks like there is a callback to the JNI layer in Unity from a thread that is unexpected in the case of a network problem or something...
Hello, I keep receiving exact same crash. Can anybody help us? Thank you.
Hello! We have a few games released using this plugin and working fine. Recently, we started to make use of the PlayerStats API. The implementation is rather simple, this is pretty much the code we added after getting a successful login callback:
And from then on, we make use of the playerStats object properties, always making a null check before.
We started getting some occassional cryptic crash logs in the Google Play Console, all very similar to this one:
We had no clue how it happened, until the game started to crash in one of our test devices, and we managed to grab a logcat from the crash. The crash itself looks like the previous log, but the additional data found in the logcat shows the following:
Right before the crash, there is an apparently debug print from GPGS:
Some more context in how we reproduced the crash: The test device had a bad internet connection (it was connected to wifi, but the internet connection in the wifi router had just dropped). The game has been working fine for days. However, at a given moment, the game crashed on startup. Trying to open the game again resulted in a crash aswell. We tried about 10 times and it always crashed. However, after waiting about 10 minutes (and I think the internet connection was restored), the game started to open correctly again. Also, when the game crashed we could still hear the game background music, looks like it crashed in a different thread. I'm attaching the full logcat we could grab when it was crashing in our test device:
filtered_log.txt
Thanks!