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?
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 instead. They don't make the game lag and, in my opinion, they aren't as intrusive.
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.
I have disabled Video (as media) in the Advance Settings >> Ad Type for Banner Ads and the now there is no lag. Of course it may impact your revenue, but you need to have a balance between your revenue and player’s experience, else they will stop playing and you will probably loose more income.
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][1] [1]: https://play.google.com/store/apps/details?id=com.goonbits.tiny.fatstronaut
– chrilleChrille I downloaded your game, and it looks like you got round the slow down, can I ask how you did that?
– LewisRhineI 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 instead. They don't make the game lag and, in my opinion, they aren't as intrusive.
– chrille