AppLovin / AppLovin-MAX-Unity-Plugin

127 stars 35 forks source link

iOS Devices Crash [URGENT] #413

Closed gulliversgames closed 3 months ago

gulliversgames commented 3 months ago

MAX Plugin Version

6.6.2

Unity Version

2021.3.29

Device/Platform Info

iOS 16+

Current Behavior

Apple devices crashes during SDK initialization

          Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x1468 objc_retain + 16
1  libobjc.A.dylib                0x1468 objc_retain_x0 + 16
2  UnityFramework                 0x50d5b68 -[USRVWebViewCallback invoke:] + 20000
3  UnityFramework                 0x50ba018 +[USRVApiSdk WebViewExposed_getSharedSessionID:] + 22612
4  CoreFoundation                 0x20814 __invoking___ + 148
5  CoreFoundation                 0x1f860 -[NSInvocation invoke] + 428
6  UnityFramework                 0x50c913c -[USRVInvocation nextInvocation] + 20172
7  UnityFramework                 0x50d6380 -[USRVWebViewMethodInvokeHandler handleInvocation:] + 1724
8  UnityFramework                 0x50d5ea4 -[USRVWebViewMethodInvokeHandler handleData:invocationType:] + 480
9  UnityFramework                 0x50d3510 -[USRVWebViewApp userContentController:didReceiveScriptMessage:] + 10184
10 AppLovinQualityService         0x4511c __55-[SafeDKAdsInterceptor hookScriptMessageHandler:sdkId:]_block_invoke_2 + 448
11 WebKit                         0xde6d0 <redacted> + 236
12 WebKit                         0x1e580 <redacted> + 680
13 WebKit                         0x1de6c <redacted> + 468
14 WebKit                         0x11f200 <redacted> + 264
15 WebKit                         0x29e0c <redacted> + 44
16 WebKit                         0x24478 <redacted> + 324
17 WebKit                         0x39e28 <redacted> + 520
18 JavaScriptCore                 0x5a9e8 WTF::RunLoop::performWork() + 204
19 JavaScriptCore                 0x5b910 WTF::RunLoop::performWork(void*) + 36
20 CoreFoundation                 0x56834 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
21 CoreFoundation                 0x567c8 __CFRunLoopDoSource0 + 176
22 CoreFoundation                 0x54298 __CFRunLoopDoSources0 + 244
23 CoreFoundation                 0x53484 __CFRunLoopRun + 828
24 CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
25 GraphicsServices               0x11a8 GSEventRunModal + 164
26 UIKitCore                      0x40a90c -[UIApplication _run] + 888
27 UIKitCore                      0x4be9d0 UIApplicationMain + 340
28 UnityFramework                 0x38a3fa0 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
29 GAMENAME                0x412c main + 28 (main.mm:28)
30 ???                            0x1b9b4de4c (Missing)

Expected Behavior

No response

How to Reproduce

The game in production started to crash all the time.

Additional Info

No response

yuravake commented 3 months ago

Same here, all of our apps started to crash

pingvigames commented 3 months ago

Massive crash on all projects!

brenofurlanpixo commented 3 months ago

Same here, crashing on all projects using AppLovin Max Plugin on iOS Unity Plugin @ 6.4.3 iOS Plugin (dependency) @ 12.4.1

Also happening on UnityPlugin @ 6.5.2 100% crash-rate

onurclb commented 3 months ago

We encounter this crash in all games we use Applovin. Our crash free rate dropped %99.7 to %93 in a short time.

brenofurlanpixo commented 3 months ago

@thomasmso the issue is escalating very quickly on iOS storefronts and it is not contained on our domain (i.e.: others are experiencing this same issue)

Please provide any news, as we may need to take serious action such as completely disabling AppLovin 'till a fix is provided

yuravake commented 3 months ago

We have disabled unity provider and looks like it stabilized

coffee-lady commented 3 months ago

Applovin has responded that this is an issue with Unity Ads. They have rolled out an update that will remove UnitySDK from initialization and serving ads on MAX apps.

applovinAsh commented 3 months ago

This is a known issue which Unity Ads SDK causes. It is affecting all iOS apps that have Unity Ads SDK integrated. As an immediate measure, we have rolled out an update that will remove UnitySDK from initialization and serving ads on MAX apps so the crashes should now be resolved.

applovinAsh commented 3 months ago

Unity shared that they rolled back the change that caused the crashes. We confirmed that their SDK is no longer crashing and we have re-enabled their network to start serving again.

okinawaa commented 3 months ago

Thank you to both Unity and AppLovin for your prompt action and resolution