Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by vProject · Apr 01, 2014 at 10:21 AM · admoblagframeratebanneranimated

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?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image chrille · Aug 21, 2014 at 10:42 AM 0
Share

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

avatar image LewisRhine · Oct 17, 2014 at 11:56 PM 0
Share

Chrille I downloaded your game, and it looks like you got round the slow down, can I ask how you did that?

avatar image chrille · Oct 18, 2014 at 01:16 PM 0
Share

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.

2 Replies

· Add your reply
  • Sort: 
avatar image
2

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges