playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.46k stars 967 forks source link

0.9.10 play game services restart phone on unlocking achievement #316

Closed bomzj closed 9 years ago

bomzj commented 9 years ago

I tested many times and got constantly phone rebooted after achievement unlocked. Here https://gist.githubusercontent.com/bomzj/0d5fbef3c89f7eb71e23/raw/5aa5e645a54842feff9f0c2be2882b20f397b003/mylog.txt is log attached.

Update: The possible reason is an interference with chartboost ad when chartboost tries to show an ad while achievement popup is shown.

samtstern commented 9 years ago

@bomzj can you provide the following information:

Also, does this only occur on achievement unlock? Or is it any time that you show any Play Games Services UI such as Leaderboards, etc?

bomzj commented 9 years ago

Phone model: Lenovo s660 Android version: 4.4.2 Plugin version: 0.9.10

It is only occured on achievement unlock. After achievement unlocked some time passed (3-5 sec) and results in phone restart.

samtstern commented 9 years ago

This will be very hard to reproduce from scratch, however if you have an APK that displays this issue I could try it on my device. If you give me a link to an APK and instructions on how to reproduce (how to get to the ach unlock screen) I can try to see if it happens on my device as well.

bomzj commented 9 years ago

I have just updated the game with this commit play-games-plugin-for-unity-e5eef77aa2a9207a85a2042c2744ce493d58a94b.zip and this problem is gone!

But new issue spotted on one x86 device, game crashes randomly when you close achievement dialog.

By the way the link to the game is https://play.google.com/store/apps/details?id=com.suslikgames.spottyrunner

I guess the problem described in this issue can be closed.