Open Mishok43 opened 7 years ago
@Mishok43 How did you use Facebook SDK?
queueEvent
to GL thread while you get event from Facebook SDK?runOnUiThread
before you invoke Facebook SDK from native code?@dumganhar Thank you, for the answer. I use the Facebook SDK Plugin from sdkbox for working with Facebook.
@tongwangj Unfortunately, I haven't solved the problem yet (
@tongwangj Do you use the AdColony lib in your project?
@tongwangj Did you try to remove AdColony lib from your project for fixing the bug? I have a lot of problems with the lib and maybe it's the reason of the strange bug. Or you had met this bug before you added this AdColony lib to the project?
@tongwangj Hi. I have tried to remove AdColony plugin from project - 0 results. Did you try to change Facebook SDK version or some dependies? Maybe you know something more about this problem. It's awful, because 4.4 - is one of the most popular android version in the World.
@tongwangj I tried it. It didn't helped. Maybe deleting Facebook SDK will help (if it's true, we can try to change version of it).
@dumganhar Well, Do you have any ideas about this bug? What's the probable reasons of the strange behavior?
Hello. Our game sometimes chashes if a player tries to login to Facebook or executes some graphic effects or just on the spot only on Android 4.4. If a player isn't connected to the Internet this bug appears much less than with the Internet. We have understood by logcat that the game crashes after these errors:
And some logs from GP:
That's why we came to the conclusion that our game has problems with gpu, rendering some textures, drawing. But on the other side, if a device is offline, the game is more stable and it's very difficult to achieve some crashes. And it's strange. If it's online and player executes some graphic effects - game always crashes. But the game has never crashed after starting these effects if it doesn't have the Internet connection. And executing these graphic effects doesn't create some request to the Internet and doesn't deal with it. And these crashes're produced only on Android 4.4.
For preparing textures we use TexturePacker.
We tried to fix it by some solutions, but nothing helped:
What's the problem? How can the Internet connection links with these errors? How can we fix it? Thank you for helping.