googleads-mobile-unity: AdMob 7.1.0 & AppLovin 6.3.0 -> Crash on Android (Exoplayer)

Environment:

  • Unity version: 2020.3.35f1
  • Google Mobile Ads Unity plugin version: 7.0.2
  • Platform: Android
  • Platform OS version: 12
  • Mediation ad networks used, and their versions: -> AdColony 2.5.0 -> AppLovin 6.2.1 -> Facebook 3.7.0 -> Unity 3.2.0
  • Other SDK : Firebase 9.1.0
  • External Dependency Manager: 1.2.171

Problem: -> If you try to watch an ad from AppLovin, it will crash the app

Has anyone faced this issue and found a solution? Thank you!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (3 by maintainers)

Commits related to this issue

Most upvoted comments

@Rickard87 We’re not using waterfall ads, only bidding.

  • Unity v2021.3.4
  • AdMob plugin v7.1.0
  • AppLovin mediation plugin v6.3.0
  • Mediation Test Suite (latest)

I’m also using UnityAds, IronSource and Facebook mediation, but I don’t think it’s relevant here. Just set up the AdMob plugin like usual, make sure it work fine in a build, import all the mediation plugins and the mediation test suite, force resolve, build again. At this point for us, AppLovin ads (bidding) load, but crash the game when opening. If I add the line into the Custom Gradle Properties, force resolve, and build again, AppLovin ads (bidding) open without issues.

This solution does seem to work for us, when viewing AppLovin ads through the mediation test suite. Without it, the ads would load, but trying to view them would crash the game.

android.enableDexingArtifactTransform=false

I’d still be cool if this was fixed by default in a future version of this plugin.

@dcosmin-97 Thank you! I will try this out tomorrow