In app purchase crashing app on startup

Hello, I’m using unity 2020.3.18 and in app purchase v 3.23. Ive updated to 4.1 to see if that would fix it. Unfortunately, it didn’t so I deleted the project and restored to v 3.23. My app works fine until I purchase something and close the app. Once I restart it, it crashes on startup. It was working last week without issue so I’m not sure what the problem is. The error only shows up on the device not the editor. The only plugins I’m using is app tracking transparency for unity -iOS 14 IDFA and Nice vibrations. DoTween is in the project but I’m not using it. Heres the log from Xcode on first startup after a fresh install.

[B]2021-10-16 01:15:12.179994-0500 ZombieCrateChallenge[449:33511] UnityIAP UnityEarlyTransactionObserver: Created[/B]

[B]2021-10-16 01:15:12.180655-0500 ZombieCrateChallenge[449:33511] UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events[/B]

[B]CrashReporter: initialized[/B]

[B]2021-10-16 01:15:12.415899-0500 ZombieCrateChallenge[449:33511] Built from '2020.3/staging' branch, Version '2020.3.18f1 (a7d1c678663c)', Build type 'Release', Scripting Backend 'il2cpp'[/B]

[B]2021-10-16 01:15:12.418518-0500 ZombieCrateChallenge[449:33511] MemoryManager: Using 'Default' Allocator.[/B]

[B]-> applicationDidFinishLaunching()[/B]

[B]2021-10-16 01:15:12.770240-0500 ZombieCrateChallenge[449:33511] UnityIAP UnityEarlyTransactionObserver: Added to the payment queue[/B]

[B]-> applicationDidBecomeActive()[/B]

[B][Subsystems] Discovering subsystems at path /private/var/containers/Bundle/Application/B94E3AB6-872A-42EA-AE67-CF13C57491EC/ZombieCrateChallenge.app/Data/UnitySubsystems[/B]

[B]GfxDevice: creating device client; threaded=1[/B]

[B]Initializing Metal device caps: Apple A9 GPU[/B]

[B]Initialize engine version: 2020.3.18f1 (a7d1c678663c)[/B]

[B]CrashReporter: No pending report exists at /var/mobile/Containers/Data/Application/52165A16-8990-40C4-AE39-D215A5882787/Library/Caches/CrashReports/crash-pending.plcrash[/B]

[B]New input system (experimental) initialized[/B]

[B]UnloadTime: 1.730708 ms[/B]

[B]Registering App for Ad Network Attribution[/B]

[B]Balaso.AppTrackingTransparency:RegisterAppForAdNetworkAttribution()[/B]

[B]AppTrackingTransparencyExample:Awake()[/B]


[B]Updating conversion value to 3[/B]

[B]Balaso.AppTrackingTransparency:UpdateConversionValue(Int32)[/B]


[B]2021-10-16 01:15:13.736375-0500 ZombieCrateChallenge[449:33511] UnityIAP: Requesting 8 products[/B]

[B]Current authorization status: NOT_DETERMINED[/B]

[B]AppTrackingTransparencyExample:Start()[/B]


[B]Requesting authorization...[/B]

[B]AppTrackingTransparencyExample:Start()[/B]


[B]Requesting authorization to iOS...[/B]

[B]Balaso.AppTrackingTransparency:RequestTrackingAuthorization()[/B]

[B]AppTrackingTransparencyExample:Start()[/B]


[B]2021-10-16 01:15:13.870268-0500 ZombieCrateChallenge[449:33779] fopen failed for data file: errno = 2 (No such file or directory)[/B]

[B]2021-10-16 01:15:13.870389-0500 ZombieCrateChallenge[449:33779] Errors found! Invalidating cache...[/B]

[B]2021-10-16 01:15:14.057153-0500 ZombieCrateChallenge[449:33779] fopen failed for data file: errno = 2 (No such file or directory)[/B]

[B]2021-10-16 01:15:14.057265-0500 ZombieCrateChallenge[449:33779] Errors found! Invalidating cache...[/B]

[B]2021-10-16 01:15:14.108756-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_read_handler [C1.1 35.227.244.186:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:14.108840-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_write_handler [C1.1 35.227.244.186:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:14.396835-0500 ZombieCrateChallenge[449:33511] UnityIAP: Requesting product data...[/B]

[B]-> applicationWillResignActive()[/B]

[B]2021-10-16 01:15:14.428403-0500 ZombieCrateChallenge[449:33511] Unbalanced calls to begin/end appearance transitions for <UnityViewControllerStoryboard: 0x127d99cb0>.[/B]

[B]2021-10-16 01:15:15.531366-0500 ZombieCrateChallenge[449:33755] UnityIAP: Received 8 products[/B]

[B]2021-10-16 01:15:15.542091-0500 ZombieCrateChallenge[449:33755] UnityIAP: No App Receipt found[/B]

[B]UnityAppTrackingTransparencyCallback received: 3[/B]

[B]Balaso.AppTrackingTransparency:appTrackingTransparencyCallbackReceived(Int32)[/B]


[B]-> applicationDidBecomeActive()[/B]

[B]2021-10-16 01:15:38.593653-0500 ZombieCrateChallenge[449:33511] UnityIAP: No App Receipt found[/B]

[B]OnInitialized: PASS[/B]

[B]IAPManager:OnInitialized(IStoreController, IExtensionProvider)[/B]

[B]UnityEngine.Purchasing.PurchasingManager:CheckForInitialization()[/B]

[B]UnityEngine.Purchasing.PurchasingManager:OnProductsRetrieved(List`1)[/B]

[B]UnityEngine.Purchasing.AppleStoreImpl:OnProductsRetrieved(String)[/B]

[B]System.Action:Invoke()[/B]

[B]UnityEngine.Purchasing.Extension.UnityUtil:Update()[/B]


[B]2021-10-16 01:15:38.595091-0500 ZombieCrateChallenge[449:33511] UnityIAP: Add transaction observer[/B]

[B]2021-10-16 01:15:38.595258-0500 ZombieCrateChallenge[449:33511] UnityIAP UnityEarlyTransactionObserver: Request to initiate queued payments[/B]

[B]AuthorizationStatus: AUTHORIZED[/B]

[B]AppTrackingTransparencyExample:OnAuthorizationRequestDone(AuthorizationStatus)[/B]

[B]System.Action`1:Invoke(T)[/B]

[B]System.Action`1:Invoke(T)[/B]

[B]System.Threading.Tasks.Task:Execute()[/B]

[B]System.Threading.ContextCallback:Invoke(Object)[/B]

[B]System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)[/B]

[B]System.Threading.Tasks.Task:ExecuteWithThreadLocal(Task&)[/B]

[B]System.Threading.Tasks.Task:ExecuteEntry(Boolean)[/B]

[B]System.Threading.SendOrPostCallback:Invoke(Object)[/B]

[B]UnityEngine.WorkRequest:Invoke()[/B]

[B]UnityEngine.UnitySynchronizationContext:Exec()[/B]


[B]Obtaining IDFA from iOS...[/B]

[B]Balaso.AppTrackingTransparency:IdentifierForAdvertising()[/B]

[B]AppTrackingTransparencyExample:OnAuthorizationRequestDone(AuthorizationStatus)[/B]

[B]System.Action`1:Invoke(T)[/B]

[B]System.Action`1:Invoke(T)[/B]

[B]System.Threading.Tasks.Task:Execute()[/B]

[B]System.Threading.ContextCallback:Invoke(Object)[/B]

[B]System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)[/B]

[B]System.Threading.Tasks.Task:ExecuteWithThreadLocal(Task&)[/B]

[B]System.Threading.Tasks.Task:ExecuteEntry(Boolean)[/B]

[B]System.Threading.SendOrPostCallback:Invoke(Object)[/B]

[B]UnityEngine.WorkRequest:Invoke()[/B]

[B]UnityEngine.UnitySynchronizationContext:Exec()[/B]


[B]IDFA: 47957D99-C246-4D8A-8139-C9DFF7704445[/B]

[B]System.Action`1:Invoke(T)[/B]

[B]System.Action`1:Invoke(T)[/B]

[B]System.Threading.Tasks.Task:Execute()[/B]

[B]System.Threading.ContextCallback:Invoke(Object)[/B]

[B]System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)[/B]

[B]System.Threading.Tasks.Task:ExecuteWithThreadLocal(Task&)[/B]

[B]System.Threading.Tasks.Task:ExecuteEntry(Boolean)[/B]

[B]System.Threading.SendOrPostCallback:Invoke(Object)[/B]

[B]UnityEngine.WorkRequest:Invoke()[/B]

[B]UnityEngine.UnitySynchronizationContext:Exec()[/B]


[B]2021-10-16 01:15:38.732079-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_read_handler [C2.1 35.241.52.229:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:38.732203-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_write_handler [C2.1 35.241.52.229:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]Unloading 5 Unused Serialized files (Serialized files now loaded: 0)[/B]

[B]UnloadTime: 2.233167 ms[/B]


[B]Unloading 4 unused Assets to reduce memory usage. Loaded Objects now: 2037.[/B]

[B]Total: 7.943500 ms (FindLiveObjects: 0.150792 ms CreateObjectMapping: 0.123250 ms MarkObjects: 7.637833 ms  DeleteObjects: 0.031000 ms)[/B]


[B]Unloading 2 Unused Serialized files (Serialized files now loaded: 0)[/B]

[B]UnloadTime: 1.030917 ms[/B]

[B]2021-10-16 01:15:42.739120-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[UnityServices initialize:delegate:testMode:usePerPlacementLoad:initializationDelegate:] (line:97) :: Initializing Unity Ads 3.7.5 (3750) with game id 4385594 in test mode[/B]


[B]Unloading 5 unused Assets to reduce memory usage. Loaded Objects now: 4244.[/B]

[B]Total: 6.189042 ms (FindLiveObjects: 0.289000 ms CreateObjectMapping: 0.141625 ms MarkObjects: 5.633417 ms  DeleteObjects: 0.124417 ms)[/B]


[B]2021-10-16 01:15:42.781810-0500 ZombieCrateChallenge[449:33511] initBinding Error: {[/B]

[B]    NSLocalizedDescription = "LofeltHaptics initAndReturnError: This device doesn't meet the minimum requirements to play haptics. ";[/B]

[B]}[/B]

[B]2021-10-16 01:15:42.821049-0500 ZombieCrateChallenge[449:33994] I/UnityAds: -[USRVInitializeStateConfig execute] (line:234) :: Unity Ads init: load configuration from https://config.unityads.unity3d.com/webview/3.7.5/release/config.json[/B]

[B]2021-10-16 01:15:44.184876-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_read_handler [C3.1 23.218.232.145:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:44.184964-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_write_handler [C3.1 23.218.232.145:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:44.240292-0500 ZombieCrateChallenge[449:33994] I/UnityAds: -[USRVInitializeStateLoadWeb execute] (line:323) :: Unity Ads init: loading webapp from https://webview.unityads.unity3d.com/webview/3.7.4/release/index.html[/B]

[B]2021-10-16 01:15:44.424778-0500 ZombieCrateChallenge[449:34005] [connection] nw_endpoint_handler_set_adaptive_read_handler [C4.1 23.218.232.148:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:44.424879-0500 ZombieCrateChallenge[449:34005] [connection] nw_endpoint_handler_set_adaptive_write_handler [C4.1 23.218.232.148:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:47.142863-0500 ZombieCrateChallenge[449:33511] WF: === Starting WebFilter logging for process ZombieCrateChallenge[/B]

[B]2021-10-16 01:15:47.142933-0500 ZombieCrateChallenge[449:33511] WF: _userSettingsForUser mobile: {[/B]

[B]    filterBlacklist =     ([/B]

[B]    );[/B]

[B]    filterWhitelist =     ([/B]

[B]    );[/B]

[B]    restrictWeb = 1;[/B]

[B]    useContentFilter = 0;[/B]

[B]    useContentFilterOverrides = 0;[/B]

[B]    whitelistEnabled = 0;[/B]

[B]}[/B]

[B]2021-10-16 01:15:47.143001-0500 ZombieCrateChallenge[449:33511] WF: _WebFilterIsActive returning: NO[/B]

[B]2021-10-16 01:15:50.208723-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: mediation detection is:{"UnityEngine":true}[/B]

[B]2021-10-16 01:15:50.242576-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Requesting configuration from https://publisher-config.unityads.unity3d.com/games/4385594/configuration?networkOperator=311480&freeMemory=55888&batteryStatus=2&batteryLevel=1&screenBrightness=0&volume=0.5&deviceFreeSpace=51218208&totalSpace=62469236&totalMemory=1523744&deviceName=38fdf519314e3151d7e7f6ef456f327b78ddb84bc457bdb0d49bce0b1fc3c959&vendorIdentifier=B12E06C1-B730-4A56-BA1A-9E234DEA661D&localeList=en-US&currentUiTheme=1&adNetworkPlist=mp6xlyr22a.skadnetwork%2C4dzt52r2t5.skadnetwork%2Cglqzh8vgby.skadnetwork%2Cx44k69ngh6.skadnetwork%2C9rd848q2bz.skadnetwork%2C3rd42ekr43.skadnetwork%2Cv72qych5uu.skadnetwork%2C3sh42y64q3.skadnetwork%2Czq492l623r.skadnetwork%2Ccstr6suwn9.skadnetwork%2C7ug5zh24hu.skadnetwork%2Cydx93a7ass.skadnetwork%2Cwzmmz9fp6w.skadnetwork%2Cyclnxrl5pm.skadnetwork%2C488r3q3dtq.skadnetwork%2C4468km3ulz.skadnetwork%2C44jx6755aq.skadnetwork%2C424m5254lk.skadnetwork%2Cs39g8k73mm.skadnetwork%2C32z4fx6l9h.skadnetwork%2Cwg4vff78zm.skadnetwork%2Chs6bdukanm.skadnetwork%2C3qy4746246.skadnetwork%2Ckbd757ywx3.skadnetwork%2Cm8dbw4sv7c.skadnetwork%2C5tjdwbrq8w.skadnetwork%2C238da6jt44.skadnetwork%2C9t245vhmpl.skadnetwork%2C8s468mfl3y.skadnetwork%2C22mmun2rn5.skadnetwork%2C4pfyvq9l8r.skadnetwork%2Cw9q455wk68.skadnetwork%2Cf73kdq92p3.skadnetwork%2C5a6flpkh64.skadnetwork%2C4fzdc2evr5.skadnetwork%2Ck674qkevps.skadnetwork%2Cav6w8kgt66.skadnetwork%2Ct38b2kh725.skadnetwork%2C578prtvx9j.skadnetwork%2Cv79kvwwj4g.skadnetwork%2Cppxm28t8ap.skadnetwork%2Cf38h382jlk.skadnetwork%2Cprcb7njmu6.skadnetwork%2Clr83yxwka7.skadnetwork%2Czmvfpc5aq8.skadnetwork%2Cmlmmfzh3r3.skadnetwork%2Ctl55sbb4fm.skadnetwork%2C5lm9lj6jb7.skadnetwork%2Cf7s53z58qe.skadnetwork%2Cc6k4g5qg8m.skadnetwork%2C2u9pt9hc89.skadnetwork%2C4DZT52R2T5.skadnetwork&systemBootTime=1634356785&trackingAuthStatus=3&idfi=ca4a5541-40dd-46f0-a0c5-dfbbf1fdfa88&advertisingTrackingId=47957D99-C246-4D8A-8139-C9DFF7704445&limitAdTracking=false&connectionType=wifi&screenHeight=414&screenWidth=736&bundleId=com.SoFliGames.ZombieCrateChallenge&encrypted=true&rooted=false&platform=ios&sdkVersion=3750&osVersion=14.8&deviceModel=iPhone8%2C2&language=en_US&test=true&analyticsUserId=6430d4dd97c764ba7a844ab5e656c653&analyticsSessionId=5539262061285580579&first=true&framework=%5Bobject%20Object%5D&adapter=%5Bobject%20Object%5D[/B]

[B]2021-10-16 01:15:50.389687-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_read_handler [C5.1 35.244.185.185:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:50.389936-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_write_handler [C5.1 35.244.185.185:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:50.475739-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Received configuration for token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZyI6InZBamNpOEhMNGMxdi9xRytRSXJ3aFduRENVMG1BbkUveXc5ZW5nNllhWjJHVTlPWUgyVEthTzBlcE42Tk1iQ2VtY0p5SkE9PSIsImFwcExldmVsQ29wcGEiOmZhbHNlLCJhdHQiOjMsImF1YyI6OTQsImF6cCI6IjA2M2Y0ZjJhLTY3N2UtNGU4MC05M2ZmLTZmYTE1OTRiNDZlOSIsImNhbGN1bGF0ZWRDb3BwYSI6ZmFsc2UsImNvbnNlbnQiOmZhbHNlLCJjb250ZXh0dWFsT25seSI6ZmFsc2UsImNwaSI6NCwiY3JlYXRlZCI6MTYzMzQ5NDU0NTAwMCwiZHQiOjAsImV4cCI6MTYzNTU3NDU1MCwiaWFwIjoxNDgsImlhdCI6MTYzNDM2NDk1MCwiaWciOiJTMFgxK0E2YTNveGwxS2ZJTmlkbkM5UEsrZEJJcGZuQ1YzOFF3bXI5WFBRajVXUDRleVpJc1h6cWxIb043ajdLNk9TeTNnPT0iLCJpc3MiOiJhZHMtZ2FtZS1jb25maWd1cmF0aW9uLnVuaXR5YWRzLnVuaXR5M2QuY29tIiwibGVnYWxUZXJyaXRvcnkiOjAsImx0diI6ODQsInBybyI6MTA3LCJwcm94aWVkIjpmYWxzZSwic3ViIjoiM1dlRnNDaFptVXlsc3V2K3Mvd05rWVlJMGxyc0NQMG00eFRqVTVlN0VuYmZDWDY5alFCK0VOMFdJdlBJY29lMGpwdXNxZz09IiwidXNlckFnZUdhdGVSZXN1bHQiOmZhbHNlLCJ2ZyI6InlPQ2E5Ymt2ek1vNWVDeTk3SnYyYmI3TS9MN1cySkdVdEZteEtYczlMM1dFa2xmVXh0b3ZFbEdoem8xRmQ0U0puZU5rNmc9PSIsInhwciI6MTA3fQ.9BiR6NxpcjoM80ejokwAJ2he0dWmHNB80xKD5i8QNqk (A/B group 8)[/B]

[B]2021-10-16 01:15:50.548509-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]Unity Ads initialization complete.[/B]

[B]AdManager:OnInitializationComplete()[/B]

[B]UnityEngine.Advertisements.Platform.iOS.IosInitializationListener:OnInitializationComplete(IntPtr)[/B]


[B]Loading Ad: Interstitial_iOS[/B]

[B]AdManager:LoadInterstitislAd()[/B]

[B]AdManager:OnInitializationComplete()[/B]

[B]UnityEngine.Advertisements.Platform.iOS.IosInitializationListener:OnInitializationComplete(IntPtr)[/B]


[B]Loading Ad: Rewarded_iOS[/B]

[B]AdManager:LoadRewardAd()[/B]

[B]AdManager:OnInitializationComplete()[/B]

[B]UnityEngine.Advertisements.Platform.iOS.IosInitializationListener:OnInitializationComplete(IntPtr)[/B]


[B]2021-10-16 01:15:50.646726-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:50.650424-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:50.659295-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:50.663172-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:50.813203-0500 ZombieCrateChallenge[449:34094] [connection] nw_endpoint_handler_set_adaptive_read_handler [C6.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:50.813377-0500 ZombieCrateChallenge[449:34094] [connection] nw_endpoint_handler_set_adaptive_write_handler [C6.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:50.905099-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_read_handler [C7.1 35.232.173.11:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:50.905225-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_write_handler [C7.1 35.232.173.11:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:50.910666-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_read_handler [C9.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:50.910788-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_write_handler [C9.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:50.916104-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_read_handler [C8.1 35.232.173.11:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:50.916230-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_write_handler [C8.1 35.232.173.11:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:51.048153-0500 ZombieCrateChallenge[449:33511] WF: _userSettingsForUser mobile: {[/B]

[B]    filterBlacklist =     ([/B]

[B]    );[/B]

[B]    filterWhitelist =     ([/B]

[B]    );[/B]

[B]    restrictWeb = 1;[/B]

[B]    useContentFilter = 0;[/B]

[B]    useContentFilterOverrides = 0;[/B]

[B]    whitelistEnabled = 0;[/B]

[B]}[/B]

[B]2021-10-16 01:15:51.048242-0500 ZombieCrateChallenge[449:33511] WF: _WebFilterIsActive returning: NO[/B]

[B]2021-10-16 01:15:51.051860-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:51.054794-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:51.055091-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:51.057177-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:51.057330-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Webview started using the latest version[/B]

[B]2021-10-16 01:15:51.069601-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:15:51.227160-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_read_handler [C10.1 35.244.205.3:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:51.227281-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_write_handler [C10.1 35.244.205.3:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:51.293294-0500 ZombieCrateChallenge[449:34008] [connection] nw_endpoint_handler_set_adaptive_read_handler [C11.1 35.232.173.11:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:51.293697-0500 ZombieCrateChallenge[449:34008] [connection] nw_endpoint_handler_set_adaptive_write_handler [C11.1 35.232.173.11:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:51.357996-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_read_handler [C12.1 23.47.52.119:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:51.358094-0500 ZombieCrateChallenge[449:33994] [connection] nw_endpoint_handler_set_adaptive_write_handler [C12.1 23.47.52.119:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]Banner loaded[/B]

[B]UnityEngine.Advertisements.LoadCallback:Invoke()[/B]

[B]System.Action:Invoke()[/B]

[B]UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update()[/B]


[B]Ad Loaded: Interstitial_iOS[/B]

[B]AdManager:OnUnityAdsAdLoaded(String)[/B]

[B]UnityEngine.Advertisements.Platform.iOS.IosLoadListener:OnLoadSuccess(IntPtr, String)[/B]


[B]Ad Loaded: Rewarded_iOS[/B]

[B]AdManager:OnUnityAdsAdLoaded(String)[/B]

[B]UnityEngine.Advertisements.Platform.iOS.IosLoadListener:OnLoadSuccess(IntPtr, String)[/B]


[B]2021-10-16 01:15:51.944429-0500 ZombieCrateChallenge[449:34119] [connection] nw_endpoint_handler_set_adaptive_read_handler [C13.1 35.190.5.180:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:51.944857-0500 ZombieCrateChallenge[449:34119] [connection] nw_endpoint_handler_set_adaptive_write_handler [C13.1 35.190.5.180:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:52.030668-0500 ZombieCrateChallenge[449:34094] [connection] nw_endpoint_handler_set_adaptive_read_handler [C14.1 173.223.108.104:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:52.030787-0500 ZombieCrateChallenge[449:34094] [connection] nw_endpoint_handler_set_adaptive_write_handler [C14.1 173.223.108.104:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:15:52.074524-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_read_handler [C15.1 35.190.5.180:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:15:52.074701-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_write_handler [C15.1 35.190.5.180:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:16:14.801443-0500 ZombieCrateChallenge[449:33753] [tcp] tcp_input [C4.1:3] flags=[R.] seq=2033727203, ack=198449318, win=243 state=CLOSED rcv_nxt=2033727179, snd_una=198449293[/B]

[B]Purchasing product asychronously: 'BBaller_Zombie'[/B]

[B]IAPManager:BuyProductID(String)[/B]

[B]UnityEngine.Events.UnityAction:Invoke()[/B]

[B]UnityEngine.Events.UnityEvent:Invoke()[/B]

[B]UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)[/B]

[B]UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)[/B]

[B]UnityEngine.InputSystem.UI.InputSystemUIInputModule:ProcessPointerButton(ButtonState&, PointerEventData)[/B]

[B]UnityEngine.InputSystem.UI.InputSystemUIInputModule:ProcessPointer(PointerModel&)[/B]

[B]UnityEngine.InputSystem.UI.InputSystemUIInputModule:Process()[/B]


[B]2021-10-16 01:16:19.214359-0500 ZombieCrateChallenge[449:33511] UnityIAP: PurchaseProduct: BBaller_Zombie[/B]

[B]2021-10-16 01:16:19.257086-0500 ZombieCrateChallenge[449:33511] UnityIAP: UpdatedTransactions[/B]

[B]2021-10-16 01:16:20.709461-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:16:20.724431-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:16:20.844943-0500 ZombieCrateChallenge[449:33511] WF: _userSettingsForUser mobile: {[/B]

[B]    filterBlacklist =     ([/B]

[B]    );[/B]

[B]    filterWhitelist =     ([/B]

[B]    );[/B]

[B]    restrictWeb = 1;[/B]

[B]    useContentFilter = 0;[/B]

[B]    useContentFilterOverrides = 0;[/B]

[B]    whitelistEnabled = 0;[/B]

[B]}[/B]

[B]2021-10-16 01:16:20.845189-0500 ZombieCrateChallenge[449:33511] WF: _WebFilterIsActive returning: NO[/B]

[B]Banner loaded[/B]

[B]UnityEngine.Advertisements.LoadCallback:Invoke()[/B]

[B]System.Action:Invoke()[/B]

[B]UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update()[/B]


[B]-> applicationWillResignActive()[/B]

[B]-> applicationDidBecomeActive()[/B]

[B]-> applicationWillResignActive()[/B]

[B]-> applicationDidBecomeActive()[/B]

[B]-> applicationWillResignActive()[/B]

[B]2021-10-16 01:16:52.123449-0500 ZombieCrateChallenge[449:33511] UnityIAP: UpdatedTransactions[/B]

[B]-> applicationDidBecomeActive()[/B]

[B]2021-10-16 01:16:52.257580-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:16:52.261332-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:16:52.726484-0500 ZombieCrateChallenge[449:33511] UnityIAP: Finishing transaction 1000000893330055[/B]

[B]2021-10-16 01:16:52.951514-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_read_handler [C16.1 35.232.173.11:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:16:52.951609-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_write_handler [C16.1 35.232.173.11:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:16:53.028232-0500 ZombieCrateChallenge[449:33511] WF: _userSettingsForUser mobile: {[/B]

[B]    filterBlacklist =     ([/B]

[B]    );[/B]

[B]    filterWhitelist =     ([/B]

[B]    );[/B]

[B]    restrictWeb = 1;[/B]

[B]    useContentFilter = 0;[/B]

[B]    useContentFilterOverrides = 0;[/B]

[B]    whitelistEnabled = 0;[/B]

[B]}[/B]

[B]2021-10-16 01:16:53.028301-0500 ZombieCrateChallenge[449:33511] WF: _WebFilterIsActive returning: NO[/B]

[B]Banner loaded[/B]

[B]UnityEngine.Advertisements.LoadCallback:Invoke()[/B]

[B]System.Action:Invoke()[/B]

[B]UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update()[/B]


[B]2021-10-16 01:17:22.270603-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:22.286246-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:22.412087-0500 ZombieCrateChallenge[449:33511] WF: _userSettingsForUser mobile: {[/B]

[B]    filterBlacklist =     ([/B]

[B]    );[/B]

[B]    filterWhitelist =     ([/B]

[B]    );[/B]

[B]    restrictWeb = 1;[/B]

[B]    useContentFilter = 0;[/B]

[B]    useContentFilterOverrides = 0;[/B]

[B]    whitelistEnabled = 0;[/B]

[B]}[/B]

[B]2021-10-16 01:17:22.412309-0500 ZombieCrateChallenge[449:33511] WF: _WebFilterIsActive returning: NO[/B]

[B]Banner loaded[/B]

[B]UnityEngine.Advertisements.LoadCallback:Invoke()[/B]

[B]System.Action:Invoke()[/B]

[B]UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update()[/B]


[B]Unloading 2 Unused Serialized files (Serialized files now loaded: 0)[/B]

[B]UnloadTime: 5.505750 ms[/B]

[B]ShowBannerWhenReady[/B]

[B]<ShowBannerWhenReady>d__42:MoveNext()[/B]

[B]UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)[/B]

[B]AdHelper:Awake()[/B]



[B]Unloading 41 unused Assets to reduce memory usage. Loaded Objects now: 5917.[/B]

[B]Total: 15.733917 ms (FindLiveObjects: 0.807375 ms CreateObjectMapping: 0.406417 ms MarkObjects: 14.258042 ms  DeleteObjects: 0.261000 ms)[/B]


[B]Showing Ad: Interstitial_iOS[/B]

[B]AdManager:ShowInterstitialAd()[/B]

[B]GameController:Start()[/B]


[B]Loading Ad: Interstitial_iOS[/B]

[B]AdManager:LoadInterstitislAd()[/B]

[B]GameController:Start()[/B]


[B]SetAboveInPlayerPrefs[/B]

[B]Ad Loaded: Interstitial_iOS[/B]

[B]AdManager:OnUnityAdsAdLoaded(String)[/B]

[B]UnityEngine.Advertisements.Platform.iOS.IosLoadListener:OnLoadSuccess(IntPtr, String)[/B]


[B]2021-10-16 01:17:36.510005-0500 ZombieCrateChallenge[449:34620] [connection] nw_endpoint_handler_set_adaptive_read_handler [C17.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:17:36.510135-0500 ZombieCrateChallenge[449:34620] [connection] nw_endpoint_handler_set_adaptive_write_handler [C17.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:17:36.532098-0500 ZombieCrateChallenge[449:34620] [connection] nw_endpoint_handler_set_adaptive_read_handler [C18.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:17:36.534695-0500 ZombieCrateChallenge[449:34620] [connection] nw_endpoint_handler_set_adaptive_write_handler [C18.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:17:36.659311-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Opening performance ad with orientation LANDSCAPE[/B]

[B]2021-10-16 01:17:36.810722-0500 ZombieCrateChallenge[449:34712] [connection] nw_endpoint_handler_set_adaptive_read_handler [C19.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:17:36.811102-0500 ZombieCrateChallenge[449:34712] [connection] nw_endpoint_handler_set_adaptive_write_handler [C19.1 34.117.123.243:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:17:38.077152-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:38.094015-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Unity Ads event: sending start event to https://publisher-event.unityads.unity3d.com/events/v2/video/video_start/4385594/000000000000000000000000[/B]

[B]2021-10-16 01:17:38.260243-0500 ZombieCrateChallenge[449:34253] [connection] nw_endpoint_handler_set_adaptive_read_handler [C20.1 35.201.109.103:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:17:38.260431-0500 ZombieCrateChallenge[449:34253] [connection] nw_endpoint_handler_set_adaptive_write_handler [C20.1 35.201.109.103:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:17:40.910230-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:40.917340-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Unity Ads event: sending first_quartile event to https://publisher-event.unityads.unity3d.com/events/v2/video/first_quartile/4385594/000000000000000000000000[/B]

[B]2021-10-16 01:17:43.345238-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:43.349088-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:43.540632-0500 ZombieCrateChallenge[449:34253] [connection] nw_endpoint_handler_set_adaptive_read_handler [C21.1 34.122.126.94:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:17:43.540764-0500 ZombieCrateChallenge[449:34253] [connection] nw_endpoint_handler_set_adaptive_write_handler [C21.1 34.122.126.94:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:17:43.779067-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_read_handler [C23.1 173.223.108.104:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:17:43.779181-0500 ZombieCrateChallenge[449:33754] [connection] nw_endpoint_handler_set_adaptive_write_handler [C23.1 173.223.108.104:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:17:43.793584-0500 ZombieCrateChallenge[449:34712] [connection] nw_endpoint_handler_set_adaptive_read_handler [C22.1 35.190.5.180:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed[/B]

[B]2021-10-16 01:17:43.793880-0500 ZombieCrateChallenge[449:34712] [connection] nw_endpoint_handler_set_adaptive_write_handler [C22.1 35.190.5.180:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed[/B]

[B]2021-10-16 01:17:43.907430-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:43.912046-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Unity Ads event: sending midpoint event to https://publisher-event.unityads.unity3d.com/events/v2/video/midpoint/4385594/000000000000000000000000[/B]

[B]2021-10-16 01:17:46.898597-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:46.911394-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Unity Ads event: sending third_quartile event to https://publisher-event.unityads.unity3d.com/events/v2/video/third_quartile/4385594/000000000000000000000000[/B]

[B]2021-10-16 01:17:49.995060-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:50.028938-0500 ZombieCrateChallenge[449:33511] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:70) :: Unity Ads event: sending view event to https://publisher-event.unityads.unity3d.com/events/v2/video/video_end/4385594/000000000000000000000000[/B]

[B]2021-10-16 01:17:52.276880-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:52.281657-0500 ZombieCrateChallenge[449:33511] CDMA1x[/B]

[B]2021-10-16 01:17:52.381517-0500 ZombieCrateChallenge[449:33511] WF: _userSettingsForUser mobile: {[/B]

[B]    filterBlacklist =     ([/B]

[B]    );[/B]

[B]    filterWhitelist =     ([/B]

[B]    );[/B]

[B]    restrictWeb = 1;[/B]

[B]    useContentFilter = 0;[/B]

[B]    useContentFilterOverrides = 0;[/B]

[B]    whitelistEnabled = 0;[/B]

[B]}[/B]

[B]2021-10-16 01:17:52.381625-0500 ZombieCrateChallenge[449:33511] WF: _WebFilterIsActive returning: NO[/B]

Heres a log after restarting following a purchase. As long as I don’t make a purchase no crashes.

2021-10-16 01:23:29.657582-0500 ZombieCrateChallenge[464:36190] UnityIAP UnityEarlyTransactionObserver: Created
2021-10-16 01:23:29.658633-0500 ZombieCrateChallenge[464:36190] UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events
CrashReporter: initialized
2021-10-16 01:23:29.833226-0500 ZombieCrateChallenge[464:36190] Built from '2020.3/staging' branch, Version '2020.3.18f1 (a7d1c678663c)', Build type 'Release', Scripting Backend 'il2cpp'
2021-10-16 01:23:29.835139-0500 ZombieCrateChallenge[464:36190] MemoryManager: Using 'Default' Allocator.
-> applicationDidFinishLaunching()
2021-10-16 01:23:30.095606-0500 ZombieCrateChallenge[464:36190] UnityIAP UnityEarlyTransactionObserver: Added to the payment queue
-> applicationDidBecomeActive()
[Subsystems] Discovering subsystems at path /private/var/containers/Bundle/Application/57D7B053-44ED-47D0-AE0A-97822A56128B/ZombieCrateChallenge.app/Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A9 GPU
Initialize engine version: 2020.3.18f1 (a7d1c678663c)
CrashReporter: No pending report exists at /var/mobile/Containers/Data/Application/0D910A13-9A42-424F-A8E9-B8BC943AF366/Library/Caches/CrashReports/crash-pending.plcrash
New input system (experimental) initialized
UnloadTime: 0.869958 ms
Registering App for Ad Network Attribution
Balaso.AppTrackingTransparency:RegisterAppForAdNetworkAttribution()
AppTrackingTransparencyExample:Awake()

Updating conversion value to 3
Balaso.AppTrackingTransparency:UpdateConversionValue(Int32)

2021-10-16 01:23:30.951072-0500 ZombieCrateChallenge[464:36190] UnityIAP: Requesting 8 products
Current authorization status: AUTHORIZED
AppTrackingTransparencyExample:Start()

2021-10-16 01:23:31.168648-0500 ZombieCrateChallenge[464:36190] UnityIAP: Requesting product data...
2021-10-16 01:23:31.195087-0500 ZombieCrateChallenge[464:36190] Unbalanced calls to begin/end appearance transitions for <UnityViewControllerStoryboard: 0x101414d70>.
2021-10-16 01:23:31.245390-0500 ZombieCrateChallenge[464:36340] [connection] nw_endpoint_handler_set_adaptive_read_handler [C1.1 35.227.244.186:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed
2021-10-16 01:23:31.245623-0500 ZombieCrateChallenge[464:36340] [connection] nw_endpoint_handler_set_adaptive_write_handler [C1.1 35.227.244.186:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed
2021-10-16 01:23:31.312970-0500 ZombieCrateChallenge[464:36341] UnityIAP: Received 8 products
2021-10-16 01:23:36.666576-0500 ZombieCrateChallenge[464:36340] [connection] nw_endpoint_handler_set_adaptive_read_handler [C2.1 35.241.52.229:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed
2021-10-16 01:23:36.666672-0500 ZombieCrateChallenge[464:36340] [connection] nw_endpoint_handler_set_adaptive_write_handler [C2.1 35.241.52.229:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed
OnInitialized: PASS
IAPManager:OnInitialized(IStoreController, IExtensionProvider)
UnityEngine.Purchasing.PurchasingManager:CheckForInitialization()
UnityEngine.Purchasing.PurchasingManager:OnProductsRetrieved(List`1)
UnityEngine.Purchasing.AppleStoreImpl:OnProductsRetrieved(String)
System.Action:Invoke()
UnityEngine.Purchasing.Extension.UnityUtil:Update()

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object.
  at IAPManager.ProcessPurchase (UnityEngine.Purchasing.PurchaseEventArgs args) [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.PurchasingManager.ProcessPurchaseIfNew (UnityEngine.Purchasing.Product product) [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.PurchasingManager.ProcessPurchaseOnStart () [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.PurchasingManager.OnProductsRetrieved (System.Collections.Generic.List`1[T] products) [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.AppleStoreImpl.OnProductsRetrieved (System.String json) [0x00000] in <00000000000000000000000000000000>:0
  at System.Action.Invoke () [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.Extension.UnityUtil.Update () [0x00000] in <00000000000000000000000000000000>:0

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object.
  at IAPManager.ProcessPurchase (UnityEngine.Purchasing.PurchaseEventArgs args) [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.PurchasingManager.ProcessPurchaseIfNew (UnityEngine.Purchasing.Product product) [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.PurchasingManager.ProcessPurchaseOnStart () [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.PurchasingManager.OnProductsRetrieved (System.Collections.Generic.List`1[T] products) [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.AppleStoreImpl.OnProductsRetrieved (System.String json) [0x00000] in <00000000000000000000000000000000>:0
  at System.Action.Invoke () [0x00000] in <00000000000000000000000000000000>:0
  at UnityEngine.Purchasing.Extension.UnityUtil.Update () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.UnhandledExceptionHandler:PrintException(String, Exception)
UnityEngine.UnhandledExceptionHandler:HandleUnhandledException(Object, UnhandledExceptionEventArgs)
System.UnhandledExceptionEventHandler:Invoke(Object, UnhandledExceptionEventArgs)

Heres my inapppurchase script.

using System;
using UnityEngine;
using UnityEngine.Purchasing;


public class IAPManager : MonoBehaviour, IStoreListener
{
    public static IAPManager instance;

    private static IStoreController m_StoreController;
    private static IExtensionProvider m_StoreExtensionProvider;

    private CharacterSelection _characterSelection;

    [SerializeField] private GameObject loadingTmpText;

    //Step 1 create your products

    private readonly string aaaa = "AAAA";
    private readonly string bbbb = "BBBB";
    private readonly string cccc = "CCCC";
    private readonly string dddd = "DDDD";
    private readonly string eeee = "EEEE";
    private readonly string ffff = "FFFF";
    private readonly string gggg = "GGGG";
    private readonly string hhhh = "HHHH";


    //************************** Adjust these methods **************************************
    public void InitializePurchasing()
    {
        if (IsInitialized()) { return; }
        var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance());

        //Step 2 choose if your product is a consumable or non consumable
        builder.AddProduct(aaaa, ProductType.NonConsumable);
        builder.AddProduct(bbbb, ProductType.NonConsumable);
        builder.AddProduct(cccc, ProductType.NonConsumable);
        builder.AddProduct(dddd, ProductType.NonConsumable);
        builder.AddProduct(eeee, ProductType.NonConsumable);
        builder.AddProduct(ffff, ProductType.NonConsumable);
        builder.AddProduct(gggg, ProductType.NonConsumable);
        builder.AddProduct(hhhh, ProductType.NonConsumable);

        UnityPurchasing.Initialize(this, builder);
    }


    private bool IsInitialized()
    {
        return m_StoreController != null && m_StoreExtensionProvider != null;
    }


    //Step 3 Create methods
    public void Buyaaaa()
    {
        BuyProductID(aaaa);
    }
    public void Buybbbb()
    {
        BuyProductID(bbbb);
    }
    public void Buycccc()
    {
        BuyProductID(cccc);
    }
    public void Buydddd()
    {
        BuyProductID(dddd);
    }
    public void Buyeeee()
    {
        BuyProductID(eeee);
    }
    public void Buyffff()
    {
        BuyProductID(ffff);
    }
    public void Buygggg()
    {
        BuyProductID(gggg);
    }
    public void Buyhhhh()
    {
        BuyProductID(hhhh);
    }

    //Step 4 modify purchasing
    public PurchaseProcessingResult ProcessPurchase(PurchaseEventArgs args)
    {
        if (String.Equals(args.purchasedProduct.definition.id, aaaa, StringComparison.Ordinal))
        {
            _characterSelection.UnLockaaaa();
            _characterSelection.Save();
        }
        else if (String.Equals(args.purchasedProduct.definition.id, bbbb, StringComparison.Ordinal))
        {
            _characterSelection.UnLockbbbb();
            _characterSelection.Save();
        }
        else if (String.Equals(args.purchasedProduct.definition.id, cccc, StringComparison.Ordinal))
        {
            _characterSelection.UnLockcccc();
            _characterSelection.Save();
        }
        else if (String.Equals(args.purchasedProduct.definition.id, dddd, StringComparison.Ordinal))
        {
            _characterSelection.UnLockdddd();
            _characterSelection.Save();
        }
        else if (String.Equals(args.purchasedProduct.definition.id, eeee, StringComparison.Ordinal))
        {
            _characterSelection.UnLockeeee();
            _characterSelection.Save();
        }
        else if (String.Equals(args.purchasedProduct.definition.id, ffff, StringComparison.Ordinal))
        {
            _characterSelection.UnLockffff();
            _characterSelection.Save();
        }
        else if (String.Equals(args.purchasedProduct.definition.id, gggg, StringComparison.Ordinal))
        {
            _characterSelection.UnLockgggg();
            _characterSelection.Save();
        }
        else if (String.Equals(args.purchasedProduct.definition.id, hhhh, StringComparison.Ordinal))
        {
            _characterSelection.UnLockhhhh();
            _characterSelection.Save();
        }
        else
        {
            Debug.Log("Purchase Failed");
        }

        StopPlayingLoadingAnim();

        return PurchaseProcessingResult.Complete;
    }





    //**************************** Dont worry about these methods ***********************************
    private void Awake()
    {
        if (instance != null)
        {
            Destroy(gameObject); return;
        }

        instance = this;
        DontDestroyOnLoad(gameObject);
    }

    void Start()
    {
        if (m_StoreController == null)
        {
            InitializePurchasing();
        }
    }

    public void GetCharacterSelection()
    {
        _characterSelection = FindObjectOfType<CharacterSelection>();
    }

    void BuyProductID(string productId)
    {
        if (IsInitialized())
        {
            Product product = m_StoreController.products.WithID(productId);
            if (product != null && product.availableToPurchase)
            {
                Debug.Log(string.Format("Purchasing product asychronously: '{0}'", product.definition.id));
                m_StoreController.InitiatePurchase(product);

                PlayLoadingAnim();
            }
            else
            {
                Debug.Log("BuyProductID: FAIL. Not purchasing product, either is not found or is not available for purchase");
            }
        }
        else
        {
            Debug.Log("BuyProductID FAIL. Not initialized.");
        }
    }

    public void RestorePurchases()
    {
        if (!IsInitialized())
        {
            Debug.Log("RestorePurchases FAIL. Not initialized.");
            return;
        }

        if (Application.platform == RuntimePlatform.IPhonePlayer ||
            Application.platform == RuntimePlatform.OSXPlayer)
        {
            Debug.Log("RestorePurchases started ...");

            var apple = m_StoreExtensionProvider.GetExtension<IAppleExtensions>();
            apple.RestoreTransactions((result) =>
            {
                Debug.Log("RestorePurchases continuing: " + result + ". If no further messages, no purchases available to restore.");
            });
        }
        else
        {
            Debug.Log("RestorePurchases FAIL. Not supported on this platform. Current = " + Application.platform);
        }
    }

    public void OnInitialized(IStoreController controller, IExtensionProvider extensions)
    {
        Debug.Log("OnInitialized: PASS");
        m_StoreController = controller;
        m_StoreExtensionProvider = extensions;
    }


    public void OnInitializeFailed(InitializationFailureReason error)
    {
        Debug.Log("OnInitializeFailed InitializationFailureReason:" + error);
    }

    public void OnPurchaseFailed(Product product, PurchaseFailureReason failureReason)
    {
        Debug.Log(string.Format("OnPurchaseFailed: FAIL. Product: '{0}', PurchaseFailureReason: {1}", product.definition.storeSpecificId, failureReason));
    }

    public void PlayLoadingAnim()
    {
        if (loadingTmpText != null)
        {
            loadingTmpText.gameObject.SetActive(true);
        }
    }

    public void StopPlayingLoadingAnim()
    {
        if (loadingTmpText != null)
        {
            loadingTmpText.gameObject.SetActive(false);
        }
    }

    public void GetLoadingText()
    {
        loadingTmpText = GameObject.FindGameObjectWithTag("LoadingText");
        loadingTmpText.gameObject.SetActive(false);
    }
}

I created a new apple sandbox id and the app worked as expected with new purchases until I uninstalled. Once I reinstall it everything works perfectly until I make a purchase or try to restore all purchases. After that the app crashes and crashes on every startup until I delete it and do a fresh install. Im using iOS 14.8 on iPhone 6s Plus and iOS 15.01 on a iPhone 13 pro max. I have also tried resetting all settings and even erasing the whole phone.

Where does it crash, how are you debugging? Since you can reproduce, you can track the device logs in XCode. Please place Debug.Log statements throughout your code to confirm where it is crashing. Your products are actually named “AAAA” on the Apple store? IAP is initializing correctly, you have an NRE (null reference exception) in your code that you can find through debugging https://discussions.unity.com/t/700551

This was all done in Xcode. It crashes on the first scene which is where I have the my in app purchase script. I changed the names of the products since I saw a post that said it didn’t matter. I will try that tomorrow as I’m away from my computer. Thanks!

Yes, the names of the products are critical, and must match the product you have defined on the Apple developer dashboard https://docs.unity3d.com/Manual/UnityIAPAppleConfiguration.html . Please show the specific line of code where it crashes.

I figured it out. When the game starts In app purchase calls PurchaseProcessingResult which then calls character selection. Character selection is null because it’s in the next scene. I put some null checks in to stop the crash although I’m not sure why PurchaseProcessingResult is called since the content is unlocked the first time. I will still add the log so you can check it out.

Hey, @Gametyme
I’m nearing the release of my game and just discovered this issue :smile:
Basically when I purchase the item, quit the game and enter it again, ProcessPurchase method gets called.
Any idea why?

@Gametyme ?