Game crashes during IAPs only on iPad (Unity 2018.4.19)
Hi all, Upon in app purchase completion my iOS build crashes with a EXC_CRASH (SIGABRT) exception. It seems to work fine on iPhone, it only crashes on iPads. I am using the in app purchasing package from unity (2.0.6). I've pasted some of the more relevant parts of the symbolicated crash log below. I am new to looking at crash logs so if I accidentally cut off any important information I please let me know so I can provide it. Thanks
Incident Identifier: 7FF06644-43F8-4BB7-A2B9-5C56EC3DBF75 CrashReporter Key: baf592829a54e674fd15498935fe71044883e677 Hardware Model: iPad5,4 Process: AppName[808] Path: /private/var/containers/Bundle/Application/9A1A4AA3-9468-430D-92F8-271A1904D6DB/AppName.app/AppName Identifier: com.CompanyName.AppName Version: 0 (1.4.2) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.CompanyName.AppName [667]
Date/Time: 2020-06-18 09:11:44.2493 -0500 Launch Time: 2020-06-18 09:11:06.8179 -0500 OS Version: iPhone OS 13.5.1 (17F80) Release Type: User Baseband Version: 9.60.01 Report Version: 104
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0
Last Exception Backtrace: 0 CoreFoundation 0x19b14a794 __exceptionPreprocess + 224 1 libobjc.A.dylib 0x19ae6cbcc objc_exception_throw + 55 2 CoreFoundation 0x19b1a02dc CFThrowFormattedException + 111 3 CoreFoundation 0x19b1a3368 -[NSPlaceholderArray initWithObjects:count:].cold.3 + 47 4 CoreFoundation 0x19b02bea8 -[NSPlaceholderArray initWithObjects:count:] + 183 5 CoreFoundation 0x19b0261c8 +[NSArray arrayWithObjects:count:] + 43 6 AppName 0x101389728 +[USRVBannerBridge loadBannerPlacement:bannerAdId:size:] + 271 7 AppName 0x101387f2c -[UADSBannerView bridgeLoad] + 119 8 AppName 0x10138701c -[UADSBannerAdRefreshView reload] + 47 9 AppName 0x1013876d4 -[UADSBannerAdRefreshView startTimer] + 387 10 CoreFoundation 0x19b0a6644 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 19 11 CoreFoundation 0x19b0a668c __CFXRegistrationPost1_block_invoke + 63 12 CoreFoundation 0x19b0a59e4 CFXRegistrationPost1 + 367 13 CoreFoundation 0x19b0a56bc __CFXNotificationPost_block_invoke + 87 14 CoreFoundation 0x19b022414 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1411 15 CoreFoundation 0x19b0a501c _CFXNotificationPost + 1235 16 Foundation 0x19b404974 -[NSNotificationCenter postNotificationName:object:userInfo:] + 59 17 UIKitCore 0x19f1e6818 -[UIApplication stopDeactivatingForReason:] + 1215 18 UIKitCore 0x19e99475c _101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2 + 107 19 UIKitCore 0x19ee442dc UIScenePerformActionsWithLifecycleActionMask + 99 20 UIKitCore 0x19e994654 _101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 195 21 UIKitCore 0x19e9940a8 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 287 22 UIKitCore 0x19e994480 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 739 23 UIKitCore 0x19e993d40 -[UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 335 24 UIKitCore 0x19e9981dc _186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 187 25 UIKitCore 0x19ed683a0 +[BSAnimationSettings+ 5919648 (UIKit) tryAnimatingWithSettings:actions:completion:] + 811 26 UIKitCore 0x19ee5d720 UISceneSettingsDiffActionPerformChangesWithTransitionContext + 243 27 UIKitCore 0x19e997f38 _186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 139 28 UIKitCore 0x19ee5d61c _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 99 29 UIKitCore 0x19e997da0 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 375 30 UIKitCore 0x19e807f74 _64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 635 31 UIKitCore 0x19e806b14 -[UIScene emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 247 32 UIKitCore 0x19e807cac -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 219 33 UIKitCore 0x19ed8dafc -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 463 34 FrontBoardServices 0x1a02c20a8 -[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:] + 527 35 FrontBoardServices 0x1a02e6684 _88-[FBSWorkspaceScenesClient sceneID:updateWithSettingsDiff:transitionContext:completion:]_block_invoke_2 + 119 36 FrontBoardServices 0x1a02cbbfc -[FBSWorkspace calloutQueue_executeCalloutFromSource:withBlock:] + 231 37 FrontBoardServices 0x1a02e65b8 _88-[FBSWorkspaceScenesClient sceneID:updateWithSettingsDiff:transitionContext:completion:]block_invoke + 183 38 libdispatch.dylib 0x19ae10524 dispatch_client_callout + 15 39 libdispatch.dylib 0x19adb9434 dispatch_block_invoke_direct$VARIANT$mp + 223 40 FrontBoardServices 0x1a030a850 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 39 41 FrontBoardServices 0x1a030a51c -[FBSSerialQueue queue_performNextIfPossible] + 403 42 FrontBoardServices 0x1a030aa44 -[FBSSerialQueue performNextFromRunLoopSource] + 27 43 CoreFoundation 0x19b0c8c18 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 23 44 CoreFoundation 0x19b0c8b70 CFRunLoopDoSource0 + 79 45 CoreFoundation 0x19b0c82f8 CFRunLoopDoSources0 + 183 46 CoreFoundation 0x19b0c3328 _CFRunLoopRun + 787 47 CoreFoundation 0x19b0c2ce8 CFRunLoopRunSpecific + 423 48 GraphicsServices 0x1a520d38c GSEventRunModal + 159 49 UIKitCore 0x19f1f1444 UIApplicationMain + 1931 50 FingerBlade 0x1007eb4d0 main + 29904 (main.mm:41) 51 libdyld.dylib 0x19af4a8f0 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystem_kernel.dylib 0x000000019af3fd88 __pthread_kill + 8 1 libsystem_pthread.dylib 0x000000019ae581e8 pthread_kill$VARIANT$mp + 136 2 libsystem_c.dylib 0x000000019adab934 abort + 100 3 AppName 0x00000001012c8384 -[UnityPLCrashReporter generateLiveReportWithThread:] + 0 4 AppName 0x00000001007fd454 UncaughtExceptionHandler(NSException*) + 103508 (CrashReporter.mm:95) 5 CoreFoundation 0x000000019b14aa9c __handleUncaughtException + 636 6 libobjc.A.dylib 0x000000019ae6ce74 objc_terminate+ 24180 () + 112 7 libc++abi.dylib 0x000000019af1314c std::terminate(void (*)+ 74060 ()) + 16 8 libc++abi.dylib 0x000000019af130e4 std::terminate+ 73956 () + 44 9 libdispatch.dylib 0x000000019ae10538 dispatch_client_callout + 36 10 libdispatch.dylib 0x000000019adb9434 dispatch_block_invoke_direct$VARIANT$mp + 224 11 FrontBoardServices 0x00000001a030a850 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 40 12 FrontBoardServices 0x00000001a030a51c -[FBSSerialQueue queue_performNextIfPossible] + 404 13 FrontBoardServices 0x00000001a030aa44 -[FBSSerialQueue performNextFromRunLoopSource] + 28 14 CoreFoundation 0x000000019b0c8c18 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24 15 CoreFoundation 0x000000019b0c8b70 CFRunLoopDoSource0 + 80 16 CoreFoundation 0x000000019b0c82f8 CFRunLoopDoSources0 + 184 17 CoreFoundation 0x000000019b0c3328 _CFRunLoopRun + 788 18 CoreFoundation 0x000000019b0c2ce8 CFRunLoopRunSpecific + 424 19 GraphicsServices 0x00000001a520d38c GSEventRunModal + 160 20 UIKitCore 0x000000019f1f1444 UIApplicationMain + 1932 21 AppName 0x00000001007eb4d0 main + 29904 (main.mm:41) 22 libdyld.dylib 0x000000019af4a8f0 start + 4