-
Notifications
You must be signed in to change notification settings - Fork 963
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
RTMP crash on iOS 9 when send invitation or quick match #760
Comments
Thanks. Is this on a 64 or 32 bit device? can you copy the contents of the crash into a message? |
its an iPad 4, should be 32-bit device. not sure what is the contents of crash you mentioned, but here the thread's stack trace and error message
|
thanks! |
@claywilkinson Exact same problem here. @shaunho57 is your device IOS 9.0 or 9.0.2? Because, in my case, I have same problem with my Ipad 2 IOS 9.0.2. When I run my app on IOS 9.0 simulator, it works fine. Moreover, when my device was IOS 9.0, it was also woking fine. When I updated it to IOS 9.0.2, I get exact same problem. |
hi @simsis3d , i tested with both iOS 9.0.1 and 9.0.2 (was 9.0.1, crash happened so i update to 9.0.2), both crash. Never tested on iOS 9.0. Additionally my colleague once tested with his iOS 8.4, according to him, it crash as well. BTW, I also tested on iOS 9.0 simulator, and crash din't happened. |
@ZenithCode do you have any idea? Are you still testing your game on IOS devices? I remember that your game was also RTMP? |
@simsis3d yes its RTMP but I gave up on invitations. Other than that, 0.9.25 works fine for me. |
Same problem here: iOS 9.0.2 crashes when creating room in RTMP or when accepting invitation. Using 0.9.26 unity plugin. |
Btw: You can easily reproduce this issue by running the SmokeTest of /samples and deploy it to an iOS device. Press Authenticate -> Multiplayer -> RTMP -> Create Game -> Select: Auto Pick (or enter any name) -> Press play -> App crashes with error shown in screenshot above in AES_encrypt. |
@ZenithCode I just tested this issue on several iOS devices and as far as I can tell this issue is also existing in previous versions: 0.9.25, 0.9.21 and maybe older versions. My guess is that since the switch to cocoapods there seems to be an iOS issue. |
@dabeku - can you share which version of xcode you are using and what device(s) you are testing on, and their versions? |
@claywilkinson of course: |
Thanks! I'll give an update as soon as I know more. |
@claywilkinson Thanks. I'm looking forward to it. Please let me know if you need any other information. |
@dabeku @shaunho57 can you please confirm that invitations to IOS device(IOS 9.0.2) from other devices are not coming beside app crash when send invitation from IOS 9.0.2 device. |
@simsis3d Testsetup: Android -> Create Room -> Invite iOS 9.0.2 device. |
@dabeku @claywilkinson Today I tested it again. There isn't any problem on invitations recieved(Both "OnInvitationRecieved" and "AcceptFromInbox" works). But, as soon as I accept an invitation, it crash. Sending invitation also crash(Stated above comments). Here is the full logs and secreenshot. Building GPG services, implicitly attempts silent auth
GooglePlayGames.PlayGamesPlatform:Authenticate(Action`1, Boolean)
UIManager:Awake()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)
2015-10-22 18:20:47.423 Woodball[4931:859424] INFO: Auth operation started: SIGN IN
Scene MainMenu is loaded
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)
Unloading 16 unused Assets to reduce memory usage. Loaded Objects now: 5456.
Total: 35.472916 ms (FindLiveObjects: 4.311333 ms CreateObjectMapping: 1.122625 ms MarkObjects: 26.799957 ms DeleteObjects: 1.647458 ms)
2015-10-22 18:20:47.694 Woodball[4931:859148] VERBOSE: Running silent sign in request on main thread.
2015-10-22 18:20:47.724 Woodball[4931:859148] VERBOSE: Finished running silent sign in request on main thread.
2015-10-22 18:20:48.513 Woodball[4931:859148] VERBOSE: Signed in user; extracting credential.
2015-10-22 18:20:48.896 Woodball[4931:859398] <Google:HTML> You are currently using version 7.4.1 of the SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/admob/ios/rel-notes.
2015-10-22 18:20:50.944 Woodball[4931:859148] cache manager changed bundle status: <VungleAdBundle: 0x17f05cd0>
2015-10-22 18:21:49.257 Woodball[4931:859148] -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle"
2015-10-22 18:22:49.721 Woodball[4931:859148] -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle"
2015-10-22 18:22:49.886 Woodball[4931:859653] <Google:HTML> You are currently using version 7.4.1 of the SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/admob/ios/rel-notes.
2015-10-22 18:23:23.699 Woodball[4931:859148] Unbalanced calls to begin/end appearance transitions for <GPGLauncherWindowRootViewController: 0x1c3a2890>.
2015-10-22 18:23:24.105 Woodball[4931:859148] ERROR: Attempting to get level number of an invalid PlayerLevel
2015-10-22 18:23:24.105 Woodball[4931:859148] ERROR: Attempting to get minimum xp of an invalid PlayerLevel
2015-10-22 18:23:24.106 Woodball[4931:859148] ERROR: Attempting to get maximum xp of an invalid PlayerLevel
2015-10-22 18:23:24.106 Woodball[4931:859148] ERROR: Attempting to get level number of an invalid PlayerLevel
2015-10-22 18:23:24.106 Woodball[4931:859148] ERROR: Attempting to get minimum xp of an invalid PlayerLevel
2015-10-22 18:23:24.106 Woodball[4931:859148] ERROR: Attempting to get maximum xp of an invalid PlayerLevel
2015-10-22 18:23:24.107 Woodball[4931:859148] ERROR: Attempting to get level number of an invalid PlayerLevel
2015-10-22 18:23:24.107 Woodball[4931:859148] ERROR: Attempting to get minimum xp of an invalid PlayerLevel
2015-10-22 18:23:24.107 Woodball[4931:859148] ERROR: Attempting to get maximum xp of an invalid PlayerLevel
2015-10-22 18:23:24.107 Woodball[4931:859148] ERROR: Attempting to get level number of an invalid PlayerLevel
2015-10-22 18:23:24.108 Woodball[4931:859148] ERROR: Attempting to get minimum xp of an invalid PlayerLevel
2015-10-22 18:23:24.108 Woodball[4931:859148] ERROR: Attempting to get maximum xp of an invalid PlayerLevel
2015-10-22 18:23:24.108 Woodball[4931:859148] ERROR: Attempting to get level number of an invalid PlayerLevel
2015-10-22 18:23:24.108 Woodball[4931:859148] ERROR: Attempting to get minimum xp of an invalid PlayerLevel
2015-10-22 18:23:24.109 Woodball[4931:859148] ERROR: Attempting to get maximum xp of an invalid PlayerLevel
2015-10-22 18:23:24.109 Woodball[4931:859148] ERROR: Attempting to get level number of an invalid PlayerLevel
2015-10-22 18:23:24.109 Woodball[4931:859148] ERROR: Attempting to get minimum xp of an invalid PlayerLevel
2015-10-22 18:23:24.110 Woodball[4931:859148] ERROR: Attempting to get maximum xp of an invalid PlayerLevel
2015-10-22 18:23:50.231 Woodball[4931:859148] -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle"
2015-10-22 18:24:14.053 Woodball[4931:859423] INFO: Connect with retry.getRetryAuthToken(): 1
2015-10-22 18:24:14.054 Woodball[4931:859423] INFO: Token expired. Refreshing.
2015-10-22 18:24:14.054 Woodball[4931:859423] Trying to refresh token; old token is: ya29.FALa6vkqYvsLqXd1umvyJYGIptvxNstEWU60uLLx7K3jCMxmIytt7epDuwAlcdEWSWJJCw
2015-10-22 18:24:14.054 Woodball[4931:859423] VERBOSE: Kicking off refresh request to main thread now.
2015-10-22 18:24:14.056 Woodball[4931:859423] VERBOSE: Waiting for refresh request to return now.
2015-10-22 18:24:14.335 Woodball[4931:859148] Auth updated! ... maybe. New token is: ya29.FALmiLaHEliMViWF69OkXKWL8euPkIYkmYhGNdelZY2tf-2TNIMzFCHKVAceo1KCEcRLRw
2015-10-22 18:24:14.336 Woodball[4931:859423] VERBOSE: Refresh request returned.
2015-10-22 18:24:14.337 Woodball[4931:859423] Token refresh success!
2015-10-22 18:24:14.337 Woodball[4931:859423] VERBOSE: Different token! Refresh successful!
2015-10-22 18:24:14.337 Woodball[4931:859423] INFO: Trying to connect with returned auth token.
(lldb) ``` |
@claywilkinson Do you have any idea about problem? |
The library team is looking at it, but no update yet. I have heard that it is not reproducible on the latest update (9.1)? I'll let everyone know when I know more. |
I intentionally didn't upgrade my device to reproduce this problem again. @dabeku @shaunho57 did you upgrade to IOS 9.1 and tested it again? |
@simsis3d I have my colleague to test with ios 9.1, according to him, it still crash. |
@simsis3d I'm right now in process of updating to 9.1 and xcode 7.1. As soon as the update finishes I'll try it and let you know (xcode update takes forever...) |
@claywilkinson @simsis3d I just tested it on iOS 9.1 and xcode 7.1 and the problem still exists. So no change in current iOS version. |
Thanks for the update - as soon as I know something I'll let you know. |
@claywilkinson |
@claywilkinson |
@simgesimulation - I appreciate the sense of urgency and frustration that you are communicating. As far as I know, the problem is in the Play Games Services library. I don't know exactly when it will be released. As soon as I know more I will share an update. |
I'm having this same issue. |
@claywilkinson it has been 39 days we postponed our IOS build because of this problem. Still no news? Is this problem appears only for this plugin(Unity users) or all GPGS RTMP users? Are there any other forum topics we can follow the process. OR at least a link we can show our players "Look! This is an official GPGS problem". Waiting from you. Thanks. |
Previous plugin versions also have same issue? Someone tried 0.9.25 or 0.9.26? @dabeku @shaunho57 |
There are definitely issues with Google Play Game Services on iOS related to multiplayer and social APIs. I've been told to communicate that these issues are not going to be addressed in the immediate future. As a result, you should treat these APIs as "beta" quality. Please continue to share your experiences using this library on iOS, as your feedback is important to making the library better in the future. As there are updates to the iOS SDK, I will share them. |
@claywilkinson Thanks for the update. Too bad. This library seemed very promising... |
So guys, I am shocked. I finished everything, I was just waiting good news:( So, what is next? What are other alternatives? what are your plans? |
@claywilkinson Is this officially means "Find an alternative to GPGS and stop using it" after reaching 3.5M downloads and 25.000 daily active users? It is so weird... Then why Google says IOS is supported?What I see from this situation is it is clealy NOT! Or at least why they dont write a note that says there are serious problems on IOS side, please be aware of that? I really dont know what to do now:/ @ZenithCode As far as I know, your game is also RTMP game and it is live on App Store right now. What is your situation right now? RTMP works for you? Or you completely remove RTMP for IOS users? |
Yes, but we decided to switch to Photon around 2 months ago as these bugs were taking forever to fix. It was a painful (costly) process and really disappointed at this situation but glad we took that decision. |
@ZenithCode now are u using Photon? What is the name of your game? I want to look at it |
The live version is still using RTMP. https://itunes.apple.com/us/app/dirt-trackin/id940202798?mt=8 The Photon version should go live in a few weeks. |
@ZenithCode what about live version of IOS now? RTMP doenst work right now? Did you test it or take any information from your players/community? |
It works on most devices - we have some issues with iPhones 5c/5s but the rest is fine. |
(Please read this as a Unity developer, not a Google developer) Have any of you tried out the multiplayer services in Unity either on Android or iOS? |
@claywilkinson which multiplayer services? do you mean new multiplayer services(currently in beta) of unity? |
Yes, those ones. I have not had a chance to try them out. Is it worth looking at? |
me neither |
@claywilkinson Is there a plan on when this play-games-plugin for unity will be released as non-beta? You stated that this issue won't be fixed "immediately". Does that mean it will be probably fixed next month, next year, or maybe never? |
@dabeku - Unfortunately, at this time, I don't have any more information than that. When there are updates, I'll make sure they are sent out. |
@ZenithCode My friend, I have some questions about photon engine. Is it possible with photon engine to achive same system here we do with gpg unity plugin? You know authonticate with google account. Then either play quick match or with your friends. Send and receive invitations etc. If yes which account they use to authenticate? Facebook account? |
@claywilkinson Are there any new information? |
well, almost 3 months, still waiting for news.. |
I'll update the thread when I know more... should be soon. |
I just tested it again and found that the error when accepting a RTMP game changed to the error below (before it was an AES_encrypt error). Can someone also verify this? I guess maybe because it's not directly a unity plugin issue but more an issue of the gpg libraries used that are imported using cocoa? |
Hi @dabeku |
@simgesimulation Yes, but the error changed. I was just wondering... |
Yes, I am hoping to get an update that will make this better next week. Stay Tuned! |
vauv, we start again:) |
OK the updated plugin 0.9.30 fixes this issue. There still are issues for iOS that are outstanding in the C++ SDK. See: https://developers.google.com/games/services/ios/knownIssues |
Hey @claywilkinson it is nice to hear that this problem is solved finally. Do you have any idea that is Push Notification problem(#606) solved? |
I don't have an exact timeline, but I bug the developers about it all the time. I'll keep you posted. |
@claywilkinson Thanks for never giving up :) |
Thanks @dabeku 👍 I'll let everyone know as I find out more. |
Hi, after update to iOS 9, I'm running with this issue.
The app crash immediately when try to CreateQuickGame, or Send RTMP invitation to any friend (able to view recently played friend, crash immediately click on the name).
Result trace the crash using xcode, show there an Jingle Main: EXC_BAD_ACCESS
Attached the screenshot at below.
Let me know if you need any further information.
The text was updated successfully, but these errors were encountered: