-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS crash when trying to invite a friend #275
Comments
Is there a more complete stack trace in the logs? it'd be good to know what On Thu Nov 13 2014 at 3:39:16 PM sliterod notifications@github.com wrote:
|
Hello, no, is the only that appears when the crash occurs. The invite is for a RTMP match |
I've check it out again to see if any other comments came out in the console. This is what it shows: 2014-11-17 15:23:27.094 testpingpong[2499:a4d7] VERBOSE: Request had Apiary Status Code: 0 |
I am seeing the same thing using the SDK directly. Sorry for posting this here. I couldn't find the iOS Play SDK support page. If you can point me to it I can provide them all the information in a bug report. Here is a full back trace of the same bug which happens whenever trying to connect any real time matches: 2014-11-26 14:29:35.577 GooglePlayServices[656:151009] VERBOSE: Request had Apiary Status Code: 0 thread #5: tid = 0x24c4a, 0x366942a0 libsystem_kernel.dylib thread #6: tid = 0x24c50, 0x366a819c libsystem_kernel.dylib thread #7: tid = 0x24c57, 0x366a89cc libsystem_kernel.dylib thread #8: tid = 0x24c7b, 0x36694540 libsystem_kernel.dylib thread #9: tid = 0x24c93, 0x36694540 libsystem_kernel.dylib thread #10: tid = 0x24c94, 0x36694540 libsystem_kernel.dylib thread #11: tid = 0x24c95, 0x36694540 libsystem_kernel.dylib thread #12: tid = 0x24cb6, 0x36694540 libsystem_kernel.dylib thread #13: tid = 0x24cb7, 0x366944f0 libsystem_kernel.dylib thread #14: tid = 0x24cb8, 0x366a819c libsystem_kernel.dylib thread #15: tid = 0x24cb9, 0x366944f0 libsystem_kernel.dylib thread #16: tid = 0x24cba, 0x36694540 libsystem_kernel.dylib thread #18: tid = 0x24cbb, 0x366a89cc libsystem_kernel.dylib thread #17: tid = 0x24cbc, 0x366a89cc libsystem_kernel.dylib thread #19: tid = 0x24d4b, 0x366944f0 libsystem_kernel.dylib thread #20: tid = 0x24d4f, 0x366a808c libsystem_kernel.dylib
|
@ToddKerpelman it happens when inviting. |
Same here. It happens while inviting. |
I am trying to deal with the same problem, have you found a solution? I set push notifications certificate&settings properly. |
Sorry -- still looking into this. (Internal bug number 18749072) |
i have same problem .. plz help me.. |
Same problem here - my stack trace:
|
I am experiencing this same issue. I use roboVM and I thought the Google play bindings may have been off, but it seems like it is a problem with the Google play services SDK. The only thing that seems unreliable is the realtime multiplayer. So far, the game crashes with a SIGABRT error (the logs are not helpful) when I call the following methods:
and when I select a player from:
I also do not see any users when I call: -presentRealTimeInvitesWithRoomDataList: with an array of rooms that the user has been invited to. |
Hey, gang. We think we know what the problem is, and suspect an upcoming version of the C++ SDK will address this. That said, this is a pretty gnarly issue, so we're still doing some testing. Does anybody have a sample project that exhibits this behavior that they'd be willing to share with us? That would help increase our confidence that we have, in fact, addressed the underlying cause... |
Hi, you could try out buttonclicker2000 (https://github.com/playgameservices/ios-basic-samples/tree/master/ButtonClicker) + iOS SDK 3.1.1 for testing. In addition i can say that problem doesn't occur on the simulators and probably on new 64bit devices. We’ve tested quick game in iPhone 6 and there were not errors, but the same build doesn't work on iPad mini and iPhone 5. |
So in other words RTMP will only work on iPad Mini 2, iPad Mini 3, iPad Air, iPad Air 2, iPhone 5s, iPhone 6, iPhone 6 Plus in the meantime? :( |
It has been two months since the last update. Did the C++ version work? Is the iOS version going to be updated? |
I have the same problem using LibGDX (native iOS sdk of gpgs) sorry I post in unity too, it felt like the best place since it's basically the same bug + sdk It too happened to me when inviting friends. It prevents us from porting to iOS right now. Here is my full crash report:
|
I believe this is fixed in version 1.4 of the C++ SDK, which is what the Unity plugin uses in iOS. You can to try use it with libGDX. The iOS SDK has not been updated yet, but I believe it is going to be updated soon. |
@claywilkinson maybe I can shove the C++ version the iOS SDK manually :P (otherwise I'll wait for the iOS version to update because I have to re-do the bindings). Thanks btw. Edit: I dont think it's going to be possible to mix the SDK (the C++ version has a totally different syntax) So I'll wait for the iOS version to be updated. |
hope that not waiting another six months... 👎 |
This is fixed in the latest plugin and C++ SDK. You'll need version 0.9.20 of the unity plugin and version 1.4.1 or higher of the C++ SDK. The C++ SDK for iOS contains the headers for Objective C so feel free to try it out too! |
@claywilkinson Not to be picky or anything, but it would be awesome if the IOS sdk itself will be updated as well. I mean if you guys already got the fix for the C++ version why not update the iOS version too? I believe a lot of people get the same bug or may not even experience it at all because it only happens on some devices, leaving the possibility of their app getting rejected when apple is testing the app. I for one was lucky to find out because I had a device that triggers this bug. |
@peterwilli seconded :) |
@claywilkinson Is there any development on this? The C++ isn't a drop-in replacement for the iOS version. The whole iOS version is useless for almost a year. We started making our own multiplayer because of this. |
@peterwilli - Can you expand on your assertion that C++ isn't a drop-in replacement for the iOS version? The framework and bundle from the C++ SDK actually contain the Objective C headers and libraries as well. Everything I have tried has affirmed that those files are a drop-in replacement. We are working on updating iOS packaging and documentation, I'll update this thread when it is done. |
@claywilkinson you are right, they do, I actually checked the first headers and came to that conclusion - sorry about that. I'll give it a second shot then, I hope the iOS version will come soon for other devs ;) |
@claywilkinson Hi, I wanted to tell that I just tried your solution and it appears to be working 👍 thanks for your time! I also wanted to say sorry for my reaction I could have said that a bit less rude. I still really think it's a good idea to update the main iOS version though ;) |
@peterwilli Glad to hear it is working, & thanks for the kind words. We're working updating iOS information - stay tuned! |
Hello. After updating the plugin, the Google+ SDK for iOS and Google Play Games SDK for iOS to their latest versions, I'm running with a problem.
If I try to invite a friend for a match, after touching the play button, the game crashes and the output is the next:
2014-11-13 18:44:40.683 testpingpong[1528:1297541] INFO: Connect with retry.getRetryAuthToken(): 1
2014-11-13 18:44:40.684 testpingpong[1528:1297541] INFO: Token expired. Refreshing.
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: condition_variable::timed wait: mutex not locked: Operation not permitted
What can I do in this case? That issue is stopping me from sending a release candidate to a publisher.
Thanks in advance!!
The text was updated successfully, but these errors were encountered: