Search Unity

UnityAds Crashing my iOS Game in Xcode

Discussion in 'Unity Ads & User Acquisition' started by MrRetroCentral, Mar 25, 2015.

  1. MrRetroCentral

    MrRetroCentral

    Joined:
    Feb 24, 2015
    Posts:
    5
    In Xcode when i run my game. It Starts up and logs into Google Play Services but at the time when UnityAds is supposed to start it freezes my game.

    UIApplicationMain(argc, argv, nil, [NSString stringWithUTF8String:AppControllerClassName]);

    2015-03-25 17:57:27.546 GalacticFighter[511:117899] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UnityAds canShowZone:]: unrecognized selector sent to instance 0x16006c60' First throw call stack: (0x241915a7 0x32159c77 0x24196a6d 0x24194949 0x240c5b68 0xbc6c64 0xd7adc 0xd3a34 0xd2f68 0xd2e94 0xd2e38 0xcfcfc 0xff0bc 0x1009c4 0xa924c8 0x17a8e54 0x184ae38 0x1257ba4 0x1257b04 0x124bd88 0x124ba88 0x1188418 0x1217efc 0xfff174 0xae7f8 0xadbfc 0xadbe0 0xadb40 0x3ada1b7 0x2710a94b 0x2710a7b3 0x2bb7482f 0x25102d7d 0x24147575 0x24157a53 0x241579ef 0x24156011 0x240a2b51 0x240a2963 0x2b5df1a9 0x276f4c91 0x9dc74 0x9db38) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

    If i run the game and press buttons to go to the menus to bypass the ads the game works perfectly so i know its Unity Ads.
     
  2. jannen

    jannen

    Unity Technologies

    Joined:
    Aug 21, 2014
    Posts:
    28
    Sounds like some parts of Unity Ads are out of sync with each other with different versions. I suggest trying to delete everything Unity Ads related from Plugins/iOS and Standard Assets/UnityAds, then import the latest Unity Ads from asset store.
     
  3. MrRetroCentral

    MrRetroCentral

    Joined:
    Feb 24, 2015
    Posts:
    5
    I tried this and it does not work