Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Banner AD behaviour

Discussion in 'Unity Ads' started by ihgyug, Aug 9, 2019.

  1. ihgyug

    ihgyug

    Joined:
    Aug 5, 2017
    Posts:
    150
    Hi,

    On my loading screen, I currently enable a banner ad on top simply using :
    Code (CSharp):
    1. Advertisement.Banner.Show("myBannerID");
    and then, just before activating the new scene, I use
    Code (CSharp):
    1. Advertisement.Banner.Hide(false);
    All great and fun, the banner shows when the loading start and it hides when it's complete.
    But I recently received a review stating that the banner, sometime, shows up on the next scene and it remains there.
    I have not been able to replicate this bug, but I think what happens is that the banner loads async and manages to show up only after the loading.

    Is it intended behaviour? Shall I rather use a coroutine + Advertisement.Banner.Load and simply do not call Advertisement.Banner.Show() if it didn't manage to load and the scene load is done?

    Thank you
     
    Last edited: Aug 9, 2019