AppLovin / AppLovin-MAX-Unity-Plugin

111 stars 31 forks source link

Fatal Exception: UIApplicationInvalidInterfaceOrientation #371

Closed soqman closed 3 weeks ago

soqman commented 3 weeks ago

MAX Plugin Version

6.4.3

Unity Version

2022.3.21f

Device/Platform Info

iOS 17.4.1

Current Behavior

Fatal Exception: UIApplicationInvalidInterfaceOrientation 0 CoreFoundation 0xecb28 exceptionPreprocess 1 libobjc.A.dylib 0x2af78 objc_exception_throw 2 CoreFoundation 0x1722a4 -[NSException initWithCoder:] 3 UIKitCore 0x139d0 -[UIViewController supportedInterfaceOrientations] 4 UIKitCore 0x135f8 -[UIViewController __withSupportedInterfaceOrientation:apply:] 5 UIKitCore 0x6e6c90 -[_UIFullscreenPresentationController _adjustOrientationIfNecessaryInWindow:forViewController:preservingViewController:] 6 UIKitCore 0x894e0 -[UIPresentationController _presentWithAnimationController:inWindow:interactionController:target:didFinish:] 7 UIKitCore 0x79231c -[UIViewController _presentViewController:modalSourceViewController:presentationController:animationController:interactionController:completion:] 8 UIKitCore 0x794b0c -[UIViewController _presentViewController:withAnimationController:completion:] 9 UIKitCore 0x795590 63-[UIViewController _presentViewController:animated:completion:]_block_invoke 10 UIKitCore 0x79588c -[UIViewController _performCoordinatedPresentOrDismiss:animated:] 11 UIKitCore 0x7954fc -[UIViewController _presentViewController:animated:completion:] 12 UIKitCore 0x795948 -[UIViewController presentViewController:animated:completion:] 13 AppLovinQualityService 0x54b18 (Missing UUID 694141b6d571378986494cda08ce03ab) 14 InMobiSDK 0x4c124 (Missing UUID e25d6926ec8c3c6cbcc107eae5d46a15) 15 InMobiSDK 0x4b554 (Missing UUID e25d6926ec8c3c6cbcc107eae5d46a15) 16 libdispatch.dylib 0x213c _dispatch_call_block_and_release 17 libdispatch.dylib 0x3dd4 _dispatch_client_callout 18 libdispatch.dylib 0x125a4 _dispatch_main_queue_drain 19 libdispatch.dylib 0x121b8 _dispatch_main_queue_callback_4CF 20 CoreFoundation 0x3751c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE 21 CoreFoundation 0x34218 CFRunLoopRun 22 CoreFoundation 0x33968 CFRunLoopRunSpecific 23 GraphicsServices 0x34e0 GSEventRunModal 24 UIKitCore 0x22aedc -[UIApplication _run] 25 UIKitCore 0x22a518 UIApplicationMain 26 UnityFramework 0x20b07a4 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96) 27 GetColor 0x417c main + 28 (main.mm:28) 28 ??? 0x1c8e6ed84 (Missing)

Expected Behavior

no crashes

How to Reproduce

don't know how to reproduce. crashlytics only

Additional Info

No response

thomasmso commented 3 weeks ago

Thanks for reporting this issue. In the stack trace, I noticed:

14 InMobiSDK 0x4c124 (Missing UUID e25d6926ec8c3c6cbcc107eae5d46a15)
15 InMobiSDK 0x4b554 (Missing UUID e25d6926ec8c3c6cbcc107eae5d46a15)

so I suspect this crash is coming from InMobi's SDK, please report it to their team for triage and we will do so in parallel as well.