iOS 9 Beta and Game Center via Unity Social

Hi,
I’m wondering if the game centre login/authentication via the social API works on iOS 9 beta? (perhaps it is disabled in beta releases on the iOS Side)

I have an app live in the store and the only few support emails was regarding this and as iOS 9 is getting closer this could become a major issue if there is something? =O

So basically my app seem to hang/fail to complete the authentication to game centre.

Stefan

Anyone have any info on if Unity can use GameCenter on iOS 9? At work we seem to be having issues with GameCenter on iOS 9.

Are Unity guys working on iOS9 support for v4.6? It will hit the stores very soon and we need some time to update our apps. Our game doesn’t work on iOS9, crashes soon after loading the game.

2 Likes

I’ve been testing GameCenter with the latest iOS9 RC build and it’s seems to be working, there are still several outstanding issues such as Unity Issue Tracker - [iOS] Social.ReportProgress is not working, but I didn’t find any regressions specific to iOS9.

We are also having an issue with Game Center on the latest version of iOS9.

  • Launch App
  • Game Center Sign In appears
  • Double click home button and leave the app.
  • Double click home and re-enter the app.
  • Game Center Popup slides out and as soon as it’s off screen the app crashes.

Currently running Unity 4.6.5f1

Has anyone else experienced this issue?

Should note that if Game Center isn’t open then it works just fine.

I did some further digging and got the back trace output from xcode, It seems the issue is causing a stack overflow.

    * thread #1: tid = 0xc6c9, 0x37c7d928 libobjc.A.dylib`lookUpImpOrForward + 28, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x5930ff4)
    frame #0: 0x37c7d928 libobjc.A.dylib`lookUpImpOrForward + 28
    frame #1: 0x37c7d8c6 libobjc.A.dylib`lookUpImpOrNil + 26
    frame #2: 0x37c75c4e libobjc.A.dylib`class_getMethodImplementation + 34
    frame #3: 0x37c9053c libobjc.A.dylib`weak_read_no_lock + 48
    frame #4: 0x37c90b64 libobjc.A.dylib`objc_loadWeakRetained + 80
    frame #5: 0x2a724232 UIKit`-[UIWindow delegate] + 22
    frame #6: 0x2adb0ddc UIKit`-[_UIFallbackPresentationViewController supportedInterfaceOrientations] + 40
    frame #7: 0x2a8c20e6 UIKit`-[UIWindow _supportedInterfaceOrientationsForRootViewController] + 142
    ...
    ...
    ...
    ...
    ...
    frame #36630: 0x2a8c20e6 UIKit`-[UIWindow _supportedInterfaceOrientationsForRootViewController] + 142
    frame #36631: 0x2a71a736 UIKit`-[UIViewController __supportedInterfaceOrientations] + 618
    frame #36632: 0x2a71a24c UIKit`-[UIViewController _preferredInterfaceOrientationGivenStatusBarAndDeviceAndOrientation:] + 92
    frame #36633: 0x2a719dde UIKit`-[UIWindow setRootViewController:] + 110
    frame #36634: 0x2adb14de UIKit`-[_UIFallbackPresentationViewController _presentViewController:sendingView:animated:] + 1426
    frame #36635: 0x2edd6ae4 GameCenterUI`__73-[GKLocalPlayer(AuthenticationPrivate) _showViewControllerForLegacyApps:]_block_invoke + 76
    frame #36636: 0x2a9da16a UIKit`-[UIPresentationController transitionDidFinish:] + 1258
    frame #36637: 0x2a9dd080 UIKit`__56-[UIPresentationController runTransitionForCurrentState]_block_invoke_2 + 192
    frame #36638: 0x2a7cd586 UIKit`-[_UIViewControllerTransitionContext completeTransition:] + 90
    frame #36639: 0x2a7cd3bc UIKit`-[UITransitionView notifyDidCompleteTransition:] + 220
    frame #36640: 0x2a7ccf36 UIKit`-[UITransitionView _didCompleteTransition:] + 1114
    frame #36641: 0x2a7ccad2 UIKit`-[UITransitionView _transitionDidStop:finished:] + 110
    frame #36642: 0x2a6de2d8 UIKit`-[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 204
    frame #36643: 0x2a6de1d2 UIKit`-[UIViewAnimationState animationDidStop:finished:] + 78
    frame #36644: 0x29f791a6 QuartzCore`CA::Layer::run_animation_callbacks(void*) + 254
    frame #36645: 0x05c95e3a libdispatch.dylib`_dispatch_client_callout + 22
    frame #36646: 0x05c9a890 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 1684
    frame #36647: 0x26592174 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
    frame #36648: 0x2659066e CoreFoundation`__CFRunLoopRun + 1590
    frame #36649: 0x264e2d88 CoreFoundation`CFRunLoopRunSpecific + 516
    frame #36650: 0x264e2b7c CoreFoundation`CFRunLoopRunInMode + 108
    frame #36651: 0x2f52caf8 GraphicsServices`GSEventRunModal + 160
    frame #36652: 0x2a70b99c UIKit`UIApplicationMain + 144
  * frame #36653: 0x0005fe70 avakinlife`main(argc=1, argv=0x05a2cadc) + 304 at main.mm:45

My knowledge of objective-c is pretty limited so any help would be appreciated.