I am in the process of moving from AdMob to Unity as a mediator for our ads. I am seeing stability issues on iOS that are not present on our Android builds.
There are currently 2 crashes that occur only with AdMob adaptor added. (No crashing with Unity/Audience Network.)
- Immediate crash on first launch (subsequent launches do not crash)
- Crash immediately after returning to the app after it has been suspended.
I should make it clear that AdMob ads are successfully delivered and shown throughout the lifecycle of the app otherwise.
All native SDKs have been removed as per the integration instructions of the SDK.
Below is the call stack for crashes in case 2 above.
CrashReporter Key: aad8faa2cf7f5af1494e218ca01d937a12a64b7e
Hardware Model: iPhone9,4
Process: AliceLegends
Identifier: com.bhe.alicelegends
Version: 3.3.0
Role: Foreground
OS Version: iOS 15.4.1
Exception Type: EXC_BAD_ACCESS
Exception Subtype: KERN_INVALID_TASK
EXC_BAD_ACCESS: Attempted to dereference garbage pointer 0x10.
0 UnityFramework -[UADSTimer timesUp:]
1 Foundation ___NSFireTimer
2 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
3 CoreFoundation ___CFRunLoopDoTimer
4 CoreFoundation ___CFRunLoopDoTimers
5 CoreFoundation ___CFRunLoopRun
6 CoreFoundation _CFRunLoopRunSpecific
7 GraphicsServices _GSEventRunModal
8 UIKitCore -[UIApplication _run]
9 UIKitCore _UIApplicationMain
10 AliceLegends -[UnityFramework runUIApplicationMainWithArgc:argv:] (main.mm:96:5)
11 AliceLegends main (main.mm:26:9)
Any insight into the cause or options to workaround would be greatly appreciated.