Search Unity

Resolved Bad performance on android

Discussion in 'UI Toolkit' started by ENC000, Oct 24, 2021.

  1. ENC000

    ENC000

    Joined:
    May 16, 2018
    Posts:
    8
    I have simple UI with full screen ScrollView and about 20 elements (VisualElement with background image) inside it and i am getting very bad performance on android phone (Samsung Galaxy A3 (2016)). Same, just a little bit better for Simple full screen VisualElement with background image and Button in the middle.

    Unity 2021.2.0b15.3666, build-in UI toolkit, VSync Count: Don't Sync, Application.targetFrameRate = 60 (game runs in 60FPS without UI, with ~80 sprites + logic), profiling was done only with UI elements (~80 sprites were not active, logic was not running)

    If i add functionality on click to deactivate GameObject with UI, it instantly goes to 60 FPS.

    ScrollView on android deep profile:

    profile data:
    scrollView.7z
    ScrollView on android without deep profile:

    Button on android deep profile:

    profile data:
    button.7z
     

    Attached Files:

    Last edited: Oct 24, 2021
    konsti1994 likes this.
  2. AlexandreT-unity

    AlexandreT-unity

    Unity Technologies

    Joined:
    Feb 1, 2018
    Posts:
    377
    Thanks for the report. The Samsung Galaxy A3 2016 has an Adreno 306 or Mali-T720MP2 GPU. We've had a similar report about poor GPU performance on some devices here. We have some improvements in mind that should help with this but parity with uGUI GPU performance will take more time since its shader is very simple.
     
  3. ENC000

    ENC000

    Joined:
    May 16, 2018
    Posts:
    8
    Thank you for information.