- Home /
AdMob banner causes frame rate lag, Android.
I've just finished my first 2D game, and can get it running at high frame rate on my tested devices. I am using AdMob and the official plugin and SDK from Google, the ads display fine.
It will load 2 types of ads, a static picture, which causes no frame drop at all, then there's the animated text ad, which completely kills the frame rate of my game.
Has anyone else experienced this? I know I can design a game aroundnhaving the ad only display on menus, but should a tiny ad with some moving text really be causing this sort of problem?
Just noticed this in my game too.. As in your case this happens when the banner ad is showing. It's quite noticeable on low-end phones. For example it's more apparent when i tested it on a Samsung Galaxy S2 than when i tested it on a Nexus 5 :(
Here's a link to the game (the banner ad will show after 4 plays) https://play.google.com/store/apps/details?id=com.goonbits.tiny.fatstronaut
Chrille I downloaded your game, and it looks like you got round the slow down, can I ask how you did that?
I didn't really solve the problem. I think it's just that, on some phones it works smoothly while on others it lags abit. However I have noticed that it lags sligthly less now, maybe google have made som improvements on their side?
Anyway, i'm avoiding banners altogether now. I'm using interstital ads ins$$anonymous$$d. They don't make the game lag and, in my opinion, they aren't as intrusive.
Answer by mrferrys · Mar 28, 2016 at 02:59 PM
Hi folks, a partial solution to solve this trouble is to force unity TimeManager to work at 24 FPS, set "Maximum Allowed Timestep" variable to 0.04166 (1/desired_FPS), this works fine if your game is not intensive in physics.
Answer by unimechanic · Oct 01, 2014 at 03:53 PM
Also ask to AdMob support, they should have more information on how to achieve this.
Your answer
Follow this Question
Related Questions
Can't set ForwardNativeEventsToDalvik to true? 1 Answer
Why does my AdMob banner not appear on my Samsung TabA? 0 Answers
Why so low fps on my simple 2d game? (8 fps on android device) 4 Answers
Unity's Google Admob Banner GetHeightInPixels() is inaccurate 0 Answers
What's causing scene to slow down? 1 Answer