- Home /
Memory Profiling AdMob Objects
Hello,
I am working on a game for Android. I am using Google AdMob plugin for Unity to integrate AdMob Ads (without mediation, for now). I have integrated AdMob in late stage (After I have created 100+ levels). Initially when I tested my game on a mobile, without AdMob, everything worked fine. When I integrated AdMob and showing Banner and Interstitials (after every 5 levels), game started leaking memory. I am not using Rewarded Ads. Sometimes even after 30 levels it freezes and screen become unresponsive. Killing the game and restart it is the only option. I have profiled with actual player on mobile and none of my own gameobjects or script are leaking the memory. I the obvious suspect is AdMob because when I turn off the Ads, everything works fine again. But Unity Memory Profiler (Integrated) does not show any objects related to AdMob (like WebView, which AdMob uses to render its Ads on the top of game). So how I can profile AdMob. I have searched whole all areas and whole hierarchy, but I could not find anything related to AdMob. I would appreciate if someone can help me profiling AdMob objects.
Your answer
Follow this Question
Related Questions
What exactly triggers Out of Memory for android? 0 Answers
Memory leak but only in the executable 2 Answers
Admob Memory Issues 0 Answers
editor script memory leak 1 Answer