Critical crash rate on iOS after upgrading to SDK version 7.0.1
[REQUIRED] Step 1: Describe your environment
- Unity version: 2020.3.35
- Google Mobile Ads Unity plugin version: 7.0.1
- Platform: iOS
- Platform OS version: iPadOS 12.5.5, iOS 12.5.5, iPadOS 12.4.1, iPadOS 12.5.2, iPadOS 11.4.1
- Any specific devices issue occurs on: iPad Mini 2, iPad Air, iPhone 6, iPhone 5s,
- Mediation ad networks used, and their versions: AppLovin 6.2.1, AdColony 2.5.0, FB 3.6.1, InMobi 4.0.3, Tapjoy 2.8.2, UnityAds 3.1.0
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
After upgrading to Google Mobile Ads Unity SDK version 7.0.1 and releasing the app we noticed critical (8.86%) crash rate on iOS platform, because of Google Mobile Ads Unity SDK. Please find below crash logs.
Relevant Code:
Crash 1
===========================================
Crashed: com.apple.main-thread
SIGABRT ABORT 0x0000000100eba418
Crashed: com.apple.main-thread
0 ??? 0x100eba418 (Missing)
1 ??? 0x100eb9a58 (Missing)
2 ??? 0x100eb9a88 (Missing)
3 ??? 0x100e7c8f8 (Missing)
4 ??? 0x100e7ca14 (Missing)
5 libdyld.dylib 0x3848 dyld_stub_binder + 60
6 UnityFramework 0x155bdf4 +[GADUPluginUtil unityGLViewController] + 772
7 UnityFramework 0x155b2b8 -[GADUInterstitial show] + 1316
8 Name Hidden 0x234a2c8 Invoke (Action.cs)
9 UnityFramework 0x18b752c U3CU3Ec__DisplayClass14_0_1_U3CShowScreenU3Eb__1_m2BC47D0BE60612F38F5E5511B88A6078785A50E6_gshared + 20852 (Generics.cpp:20852)
10 Name Hidden 0x234a2c8 Invoke (Action.cs)
11 Name Hidden 0x16fe6d4 Invoke (TweenCallback.cs)
12 Name Hidden 0x16fe418 OnTweenCallback (Tween.cs)
13 Name Hidden 0x16fe33c DoGoto (Tween.cs)
14 Name Hidden 0x170416c Update (TweenManager.cs)
15 Name Hidden 0x16e6230 Update (DOTweenComponent.cs)
16 UnityFramework 0xa8564 RuntimeInvoker_TrueVoid_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5 + 68267 (Il2CppInvokerTable.cpp:68267)
17 UnityFramework 0x1498ce4 il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 115936
18 UnityFramework 0xd758d4 scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool) + 2252704
19 UnityFramework 0xd79490 ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 2267996
20 UnityFramework 0xd8e89c MonoBehaviour::CallUpdateMethod(int) + 2355048
21 UnityFramework 0xbef624 void BaseBehaviourManager::CommonUpdate<BehaviourManager>() + 654576
22 UnityFramework 0xca0738 ExecutePlayerLoop(NativePlayerLoopSystem*) + 1379844
23 UnityFramework 0xca0778 ExecutePlayerLoop(NativePlayerLoopSystem*) + 1379908
24 UnityFramework 0xca0a3c PlayerLoop() + 1380616
25 UnityFramework 0x102314c UnityPlayerLoopImpl(bool) + 129660
26 UnityFramework 0x19240 -[UnityAppController(Rendering) repaint] + 233 (UnityAppController+Rendering.mm:233)
27 UnityFramework 0x191a8 -[UnityAppController(Rendering) repaintDisplayLink] + 72 (UnityAppController+Rendering.mm:72)
28 QuartzCore 0x11ff0 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 636
29 IOKit 0x54b0 IODispatchCalloutFromCFMessage + 488
30 CoreFoundation 0x84990 __CFMachPortPerform + 188
31 CoreFoundation 0xab594 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
32 CoreFoundation 0xaace0 __CFRunLoopDoSource1 + 440
33 CoreFoundation 0xa5b04 __CFRunLoopRun + 2096
34 CoreFoundation 0xa4fb4 CFRunLoopRunSpecific + 436
35 GraphicsServices 0xa79c GSEventRunModal + 104
36 UIKitCore 0x8bcc38 UIApplicationMain + 212
37 UnityFramework 0x18c7c -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
38 Name Hidden 0x7e00 main + 28 (main.mm:28)
39 libdyld.dylib 0x18e0 start + 4
Crash 2
===========================================
Crashed: com.apple.main-thread
SIGABRT ABORT 0x0000000100c76418
Crashed: com.apple.main-thread
0 ??? 0x100c76418 (Missing)
1 ??? 0x100c75a58 (Missing)
2 ??? 0x100c75a88 (Missing)
3 ??? 0x100c388f8 (Missing)
4 ??? 0x100c38a14 (Missing)
5 libdyld.dylib 0x3848 dyld_stub_binder + 60
6 UnityFramework 0x155bdf4 +[GADUPluginUtil unityGLViewController] + 772
7 UnityFramework 0x155b2b8 -[GADUInterstitial show] + 1316
8 Name Hidden 0x15dbe90 _4_MoveNext (U3CDoAfterGameJobU3Ed.cs)
9 Name Hidden 0x2473bc4 Invoke (ContextCallback.cs)
10 Name Hidden 0x251f46c RunInternal (ExecutionContext.cs)
11 Name Hidden 0x24a2438 Run (MoveNextRunner.cs)
12 Name Hidden 0x234a2c8 Invoke (Action.cs)
13 Name Hidden 0x2473bc4 Invoke (ContextCallback.cs)
14 Name Hidden 0x235d70c RunCallback (AwaitTaskContinuation.cs)
15 Name Hidden 0x2420a8c FinishContinuations (Task.cs)
16 UnityFramework 0x1b05e28 Task_1_TrySetResult_mFBE3512457036F312EF672E0F3A7FEAE3E22EE74_gshared + 20279 (Generics26.cpp:20279)
17 UnityFramework 0x1a39728 AsyncTaskMethodBuilder_1_SetResult_mB50942CCDE672DB7194F876364EE271CE9FEF27B_gshared + 28419 (Generics2.cpp:28419)
18 Name Hidden 0x15f9758 _69_MoveNext (U3CReloadProfileAdvancedDataU3Ed.cs)
19 Name Hidden 0x2473bc4 Invoke (ContextCallback.cs)
20 Name Hidden 0x251f46c RunInternal (ExecutionContext.cs)
21 Name Hidden 0x24a2438 Run (MoveNextRunner.cs)
22 Name Hidden 0x234a2c8 Invoke (Action.cs)
23 Name Hidden 0x2473bc4 Invoke (ContextCallback.cs)
24 Name Hidden 0x235d70c RunCallback (AwaitTaskContinuation.cs)
25 Name Hidden 0x2420a8c FinishContinuations (Task.cs)
26 UnityFramework 0x1b0b448 Task_1_TrySetResult_m1050FBF178389A5D03D30C4C53B7E3E097A56B42_gshared + 23595 (Generics26.cpp:23595)
27 Name Hidden 0x24b761c Invoke (CompleteOnInvokePromise.cs)
28 Name Hidden 0x2420a40 FinishContinuations (Task.cs)
29 UnityFramework 0x1b0c9d0 Task_1_TrySetResult_m0D282AA0AA9602D0FCFA46141CEEAAE8533D2788_gshared + 24424 (Generics26.cpp:24424)
30 Name Hidden 0x2420a40 FinishContinuations (Task.cs)
31 UnityFramework 0x1b05e28 Task_1_TrySetResult_mFBE3512457036F312EF672E0F3A7FEAE3E22EE74_gshared + 20279 (Generics26.cpp:20279)
32 UnityFramework 0x1a39728 AsyncTaskMethodBuilder_1_SetResult_mB50942CCDE672DB7194F876364EE271CE9FEF27B_gshared + 28419 (Generics2.cpp:28419)
33 Name Hidden 0x15f6dec _82_MoveNext (U3CLoadServerTimestampU3Ed.cs)
34 Name Hidden 0x2473bc4 Invoke (ContextCallback.cs)
35 Name Hidden 0x251f46c RunInternal (ExecutionContext.cs)
36 Name Hidden 0x24a2438 Run (MoveNextRunner.cs)
37 Name Hidden 0x234a2c8 Invoke (Action.cs)
38 Name Hidden 0x2473bc4 Invoke (ContextCallback.cs)
39 Name Hidden 0x235d70c RunCallback (AwaitTaskContinuation.cs)
40 Name Hidden 0x2420a8c FinishContinuations (Task.cs)
41 UnityFramework 0x1b0b448 Task_1_TrySetResult_m1050FBF178389A5D03D30C4C53B7E3E097A56B42_gshared + 23595 (Generics26.cpp:23595)
42 UnityFramework 0x1b3b6b0 UnwrapPromise_1_InvokeCore_m11AF9FDE5DF52A54822F2F34923844E3AE865428_gshared + 26110 (Generics28.cpp:26110)
43 UnityFramework 0x1b3b5e8 UnwrapPromise_1_Invoke_mD7350B8D8D7375407C0F6800335CFDF21AB51B44_gshared + 26052 (Generics28.cpp:26052)
44 Name Hidden 0x2420a40 FinishContinuations (Task.cs)
45 UnityFramework 0x1b0b448 Task_1_TrySetResult_m1050FBF178389A5D03D30C4C53B7E3E097A56B42_gshared + 23595 (Generics26.cpp:23595)
46 UnityFramework 0x1af25a0 TaskCompletionSource_1_TrySetResult_m3EE8E1110E0E022021CDBF4CA6C7485EAFD17E71_gshared + 7042 (Generics26.cpp:7042)
47 UnityFramework 0x1af2610 TaskCompletionSource_1_SetResult_m114264415DE45978C357F9A2A7A2E87D84B54443_gshared + 7081 (Generics26.cpp:7081)
48 UnityFramework 0x18bd854 U3CRunAsyncU3Ec__AnonStorey1_1_U3CU3Em__0_m8A9E5C2C0631127EE3C15CDD3EF664AAE8721E68_gshared + 27733 (Generics.cpp:27733)
49 Name Hidden 0x234a2c8 Invoke (Action.cs)
50 Name Hidden 0x17839f0 Wrap (ExceptionAggregator.cs)
51 Name Hidden 0x1783974 PollJobs (Dispatcher.cs)
52 Name Hidden 0x1784ac0 Update (FirebaseHandler.cs)
53 UnityFramework 0xa8564 RuntimeInvoker_TrueVoid_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5 + 68267 (Il2CppInvokerTable.cpp:68267)
54 UnityFramework 0x1498ce4 il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 115936
55 UnityFramework 0xd758d4 scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool) + 2252704
56 UnityFramework 0xd79490 ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 2267996
57 UnityFramework 0xd8e89c MonoBehaviour::CallUpdateMethod(int) + 2355048
58 UnityFramework 0xbef624 void BaseBehaviourManager::CommonUpdate<BehaviourManager>() + 654576
59 UnityFramework 0xca0738 ExecutePlayerLoop(NativePlayerLoopSystem*) + 1379844
60 UnityFramework 0xca0778 ExecutePlayerLoop(NativePlayerLoopSystem*) + 1379908
61 UnityFramework 0xca0a3c PlayerLoop() + 1380616
62 UnityFramework 0x102314c UnityPlayerLoopImpl(bool) + 129660
63 UnityFramework 0x19240 -[UnityAppController(Rendering) repaint] + 233 (UnityAppController+Rendering.mm:233)
64 UnityFramework 0x191a8 -[UnityAppController(Rendering) repaintDisplayLink] + 72 (UnityAppController+Rendering.mm:72)
65 QuartzCore 0x11ff0 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 636
66 IOKit 0x54b0 IODispatchCalloutFromCFMessage + 488
67 CoreFoundation 0x84990 __CFMachPortPerform + 188
68 CoreFoundation 0xab594 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
69 CoreFoundation 0xaace0 __CFRunLoopDoSource1 + 440
70 CoreFoundation 0xa5b04 __CFRunLoopRun + 2096
71 CoreFoundation 0xa4fb4 CFRunLoopRunSpecific + 436
72 GraphicsServices 0xa79c GSEventRunModal + 104
73 UIKitCore 0x8bcc38 UIApplicationMain + 212
74 UnityFramework 0x18c7c -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
75 Name Hidden 0x7e00 main + 28 (main.mm:28)
76 libdyld.dylib 0x18e0 start + 4
Crash 3
===========================================
Crashed: com.apple.main-thread
SIGABRT ABORT 0x0000000100ce2418
Crashed: com.apple.main-thread
0 ??? 0x100ce2418 (Missing)
1 ??? 0x100ce1a58 (Missing)
2 ??? 0x100ce1a88 (Missing)
3 ??? 0x100ca48f8 (Missing)
4 ??? 0x100ca4a14 (Missing)
5 libdyld.dylib 0x3848 dyld_stub_binder + 60
6 UnityFramework 0x155bdf4 GADUUIInterfaceOrientationForGADUScreenOrientation + 772
7 UnityFramework 0x155b2b8 GADURelease + 1316
8 UnityFramework 0x234a2c8 CLUSetCrashlyticsCollectionEnabled + 14585812
9 UnityFramework 0x18b752c CLUSetCrashlyticsCollectionEnabled + 3498552
10 UnityFramework 0x234a2c8 CLUSetCrashlyticsCollectionEnabled + 14585812
11 UnityFramework 0x16fe6d4 CLUSetCrashlyticsCollectionEnabled + 1692640
12 UnityFramework 0x16fe418 CLUSetCrashlyticsCollectionEnabled + 1691940
13 UnityFramework 0x16fe33c CLUSetCrashlyticsCollectionEnabled + 1691720
14 UnityFramework 0x170416c CLUSetCrashlyticsCollectionEnabled + 1715832
15 UnityFramework 0x16e6230 CLUSetCrashlyticsCollectionEnabled + 1593148
16 UnityFramework 0xa8564 (Missing UUID dce46c323fb93aa9be7a76bb51ed3a35)
17 UnityFramework 0x1498ce4 DllCanUnloadNow + 115936
18 UnityFramework 0xd758d4 operator delete[](void*, std::nothrow_t const&) + 2252704
19 UnityFramework 0xd79490 operator delete[](void*, std::nothrow_t const&) + 2267996
20 UnityFramework 0xd8e89c operator delete[](void*, std::nothrow_t const&) + 2355048
21 UnityFramework 0xbef624 operator delete[](void*, std::nothrow_t const&) + 654576
22 UnityFramework 0xca0738 operator delete[](void*, std::nothrow_t const&) + 1379844
23 UnityFramework 0xca0778 operator delete[](void*, std::nothrow_t const&) + 1379908
24 UnityFramework 0xca0a3c operator delete[](void*, std::nothrow_t const&) + 1380616
25 UnityFramework 0x102314c MetalHeap::AliasResources() + 129660
26 UnityFramework 0x19240 (Missing UUID dce46c323fb93aa9be7a76bb51ed3a35)
27 UnityFramework 0x191a8 (Missing UUID dce46c323fb93aa9be7a76bb51ed3a35)
28 QuartzCore 0x11ff0 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 636
29 IOKit 0x54b0 IODispatchCalloutFromCFMessage + 488
30 CoreFoundation 0x84990 __CFMachPortPerform + 188
31 CoreFoundation 0xab594 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
32 CoreFoundation 0xaace0 __CFRunLoopDoSource1 + 440
33 CoreFoundation 0xa5b04 __CFRunLoopRun + 2096
34 CoreFoundation 0xa4fb4 CFRunLoopRunSpecific + 436
35 GraphicsServices 0xa79c GSEventRunModal + 104
36 UIKitCore 0x8bcc38 UIApplicationMain + 212
37 UnityFramework 0x18c7c (Missing UUID dce46c323fb93aa9be7a76bb51ed3a35)
38 Name Hidden 0x7e00 main + 28 (main.mm:28)
39 libdyld.dylib 0x18e0 start + 4
Have you found any workaround? I'm also seeing tons of similar crashes:
7 UnityFramework 0x000000010294cf6c GADUUIInterfaceOrientationForGADUScreenOrientation + 772
8 UnityFramework 0x000000010294df08 GADUUIInterfaceOrientationForGADUScreenOrientation + 4768
Have you found any workaround? I'm also seeing tons of similar crashes:
7 UnityFramework 0x000000010294cf6c GADUUIInterfaceOrientationForGADUScreenOrientation + 772 8 UnityFramework 0x000000010294df08 GADUUIInterfaceOrientationForGADUScreenOrientation + 4768
I haven't found workaround and downgraded GoogleMobileAds Unity SDK to version 7.0.0 for iOS platform.
is this fixed in 7.0.2
Thanks for the report. I am looking into this.
Is there any news about this issue. Any workaround?
Hi @schwips,
We are still looking into the issue. Thank you for the reminder, I will see what I can do.
b/270246759
This issue will be fixed in the next release.