Ads not running on android IL2CPP build

Hello. The problem is when I build the app with IL2CPP armv7 arm64, ads don’t run. Neither production ads nor test ads. Unity 2020.1.10, ads 3.5.0

For which platform, Android or iOS?

Android

Sorry, the title says

I was building my own game this weekend for Android, however it was on 2019.4. I can upgrade it to 2020.1 and see if I experience any problems

Did you check Android device logs?

/Rasmus

Update: nothing strange on adb log. Only that the Advertisement is not ready.

I added a while loop to check when the ads are ready and for some reason in the MONO build the Advertisement is ready approximately 2min sooner than the IL2CPP build.

Thanks. Yes, I’m semi-able to reproduce.

If videos are being downloaded (likely because not cached on device already), seems ad will be shown. Otherwise no ad.

I’ll talk with SDK dev team and investigate further.

/Rasmus

1 Like

Hmm, I might have seen something else (network connectivity etc). SDK team is unable to reproduce, and now my own game works fine as well - has been able to watch ads several times in row…

Can you output result of running

adb logcat -v time UnityAds:V UnityAdsTest:V “*:S”

/Rasmus

My ads run fine as well now.

Thanks for update. Don’t know what been problem, couldn’t immediately find anything obvious