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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bug Unity Android screen stuttering / flickering when using native UI (with video)

Discussion in 'Android' started by MiroslavShard, Mar 23, 2023.

  1. MiroslavShard

    MiroslavShard

    Joined:
    Oct 22, 2019
    Posts:
    4
    Hello, everyone! I recently faced the problem and I really need your help. The game starts to lag terribly on my android phone when I start using the native UI (e.g. navigation bar, notification panel or changing the volume level).

    The game itself does not lag, everything goes perfectly under 30 fps, but when I start using the native UI, the screen starts to crumble (but still under 30 fps, without drawdowns). I recorded a video from another phone, because when I use a screen recorder, this bug disappears (probably the screen recorder optimizes frames somehow).

    VIDEO:


    Possible solution with Optimized Frame Pacing? No! Unfortunately, I cannot use this feature due to a critical bug on another phone (the old low-end phone starts to lag terribly and slow down after a couple of minutes of gameplay). Unity still can't fix it and I'm preparing a huge detailed bug report on this topic.

    I have also tried setting different Application.targetFrameRate values, but the problem still persists.

    I will be very grateful if you help me or tell in which direction to do my research.
     
  2. MiroslavShard

    MiroslavShard

    Joined:
    Oct 22, 2019
    Posts:
    4
  3. guanghui

    guanghui

    Joined:
    Aug 15, 2017
    Posts:
    1
    what's your Unity engine version? I also have this problem when run our game on Android emulators on Windows PC.
    I'm using Unity 2021.3.15f1