Problem with Rewarded iOS and GoogleMobileAds 3.0.6 Unity

1,097 views
Skip to first unread message

roshka...@gmail.com

unread,
Sep 18, 2016, 4:24:57 PM9/18/16
to Google Mobile Ads SDK Developers

Hello, every time I try to load a rewarded AD on iOS device (GoogleMobileAds Unity plugin https://github.com/googleads/googleads-mobile-unity/releases/download/v3.0.6/GoogleMobileAds.unitypackage ) the app crash with the following error:

libc++abi.dylib: terminating with uncaught exception of type Il2CppExceptionWrapper

Interstitial ads works well, and found no problem on Android (interstitial and rewarded)....
I revert to version 3.0.5 ( https://github.com/googleads/googleads-mobile-unity/releases/download/3.0.5/GoogleMobileAds.unitypackage ) and works without a problem.

Tested on iPhone SE iOS 10 & iPad 4th gen iOS 9.3.5. Unity 5.4.0f3 xCODE 8.0 Tested with build target 7.1 & 8.0
Screen Shot 2016-09-18 at 4.21.21 PM.png

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 19, 2016, 10:57:27 AM9/19/16
to Google Mobile Ads SDK Developers
Hi there,

Can you make sure that you have the following in your Unity iOS project? 
  • Set Enable Modules (C and Objective-C) to Yes in Build Settings.
  • Add $(inherited) to Other Linker Flags in Build Settings.
I was able to load both Banner and Interstitial ads on my device with the latest Mobile Ads 3.0.6 plugin. As to the Rewarded ads, which mediation network are you trying to load ads with? For Applovin, can you make sure that you have copied the files in the Mediation Adaptor folder from this link?

Thanks,
Arjun Busani
Mobile Ads SDK Team

roshka...@gmail.com

unread,
Sep 19, 2016, 12:03:32 PM9/19/16
to Google Mobile Ads SDK Developers
Those settings are set on Build Settings. I'm using AdColony, AppLovin, Chartboost, UnityAds & Vungle.
Banner and Interstitial works without a problem, when I request rewarded ads the app crash.

Here is the repo of the project (using Google Mobile Ads 3.0.5) https://github.com/pescode/Unity5-Admob-with-Mediation .
It has the Mediation Adaptor files required for AppLovin. Interstitial & Rewarded works fine on iOS with this version

If you upgrade the same project to Google Mobile Ads 3.0.6. Rewarded request makes the app crash.

Steps to reproduce the error:

1. Create an empty project (iOS) on Unity5
2. Download and import this package https://goo.gl/UFtxv9
3. Add your Admob interstitial and rewarded ad unit ids in RshkAds.cs (line 41-42)
4. In RshkAds.cs comment lines 47-48
5. Open Test scene, add to the build AND build the project
6. Run project on xCode, press LOAD REWARDED button and then press SHOW REWARDED button. Everything should work without a problem!
7. Update the project to GoogleMobileAds 3.0.6
8. Build project and run on xCode
9. Press LOAD REWARDED
10. App crash

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 19, 2016, 3:50:21 PM9/19/16
to Google Mobile Ads SDK Developers
Hi there,

Thank you for all the details. I was also able to reproduce this issue and will be sharing this with the team. We will get back to you as soon as there is any new information to share.

Thanks,
Arjun Busani
Mobile Ads SDK Team

Ram Parameswaran (Mobile SDK Team)

unread,
Sep 20, 2016, 1:14:06 AM9/20/16
to Google Mobile Ads SDK Developers
A new release including a fix to address this problem should be up on the Google Mobile Ads Unity plugin GitHub repository soon.

- Ram

TATAY GAMES

unread,
Nov 28, 2017, 6:53:56 AM11/28/17
to Google Mobile Ads SDK Developers
Hi I encounter this error in xcode, is this fix?

Ram Parameswaran (Mobile SDK Team)

unread,
Nov 28, 2017, 2:20:34 PM11/28/17
to Google Mobile Ads SDK Developers
Are you running into this issue with the latest release of the plugin?

- Ram
Reply all
Reply to author
Forward
0 new messages