Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question BannerAd freezes game for almost half of the second.

Discussion in 'LevelPlay' started by VentaGames, May 19, 2023.

  1. VentaGames

    VentaGames

    Joined:
    Jul 9, 2021
    Posts:
    123
    I just integrated levelPlay, and noticed when the ad is reloaded the gameplay freezes up to half of a second.
    It really noticeable and annoying, is the best I can do, just to disable automatic ad reloading while in gameplay? Or any other workarounds?

    Thanks in advance.
     
  2. yunanhou

    yunanhou

    Unity Technologies

    Joined:
    Feb 23, 2023
    Posts:
    35
  3. VentaGames

    VentaGames

    Joined:
    Jul 9, 2021
    Posts:
    123
    Hi there, i've posted this using the contact form you provided.
    Thanks for helping me out.
    I've attached the video file of how the issue looks.
    Cheers.
     
  4. VentaGames

    VentaGames

    Joined:
    Jul 9, 2021
    Posts:
    123
    Ok, after a short conversation with IS, they said that the issue is coming from the 120-frame rate set for this game. Also on old iPhones. However, i've tested it on iPhone 14 Pro Max, so, not so old.
    Ok, i can switch back to 60 FPS. But still, 120 FPS, i think it should work as well.
    I've tried to run a profiler to check CPU/GPU, but the only thing i saw is that when the banner is reloading, the WaitForCPU process raises for up to 120% of the average value.
    So, for me, it is the only option to disable reloading.