Frame Drop After Advertisement
Hello there.
I'm trying to implement UnityAds to my Android game. I'm using Unity 5.2. So without ads I can run my game at 30-36 fps.. Then the video ad pops out and after that, when I'm back in the game, I get only 19-22 fps, until the game is completly restarted.. I can't find out why. But it's all okay in the editor.. Ony happends on android device..
Do you know what could it be? Thanks
I have the exact same problem with my game on Samsung Galaxy s3 Android. I'm using Unity 5.4 now, I'm ~60fps, then after the ad runs I'm at ~45. If I press the home key, then go back to the game it goes back up.
I reported it to Unity Ad $$anonymous$$m but no luck yet reproducing.
Did you ever figure out the problem?
This ONLY happens after a Unity Ad runs, and ONLY on the device.
Answer by mikaisomaa · Aug 19, 2016 at 06:38 AM
Hi,
A possible workaround was posted in our forum. Can you try if this helps with the issue:
http://forum.unity3d.com/threads/framerate-drops-after-unity-ad-runs-android.426008/#post-2756867
We've been chasing this for a while without being able to reproduce on other devices and I'd be glad to hear this one fixes the issue on Galaxy S3.
ping @marshall50 and @breban1
Answer by lasdoo5 · Oct 09, 2020 at 09:41 AM
I found a solution I think. I worked for me. I used a banner ad and it was shown in every scene. I use this method to destroy it.
private void OnDestroy()
{
bannerView.Destroy();
}
not no frame drops.
Does this solution actually work ? ....... Plz can you show me how I can do this for rewarded ads?
Your answer
Follow this Question
Related Questions
Test ad still showing up. 1 Answer
Is ad platform CPIMobi good or bad? 5 Answers
Admob interstitial ads 2 Answers
Trouble with closing Unity 5 ads 0 Answers
How to create a remove ads in app purchase for unity android game? 1 Answer