Search Unity

Performance of new UI

Discussion in 'UGUI & TextMesh Pro' started by Raimis, Dec 2, 2014.

  1. Gimos

    Gimos

    Joined:
    Oct 30, 2014
    Posts:
    3
    I have observed performance increase in version 5.3.x

    In my game on android I received 60 FPS, previously was ~45.
     
  2. xucian

    xucian

    Joined:
    Mar 7, 2016
    Posts:
    846
  3. Ultramattt

    Ultramattt

    Joined:
    Jan 13, 2015
    Posts:
    22
    We are developing a mobile game and the Unity UI Canvas causes us to lose 20fps. Its a dirt simple UI. Nothing fancy. If its on, we get 40fps, off we get 60. Why does Unity's built in UI hurt performance so much? We are considering switching to NGUI, though I really dont feel like we should have to.
     
  4. IzzySoft

    IzzySoft

    Joined:
    Feb 11, 2013
    Posts:
    376
    Some developers are stating that their games performance went up after upgrading Unity to 5.3.4xx.
     
  5. denjiz

    denjiz

    Joined:
    Mar 4, 2015
    Posts:
    1
    This solved the problem for me. I was getting 13 FPS on iPhone 4 for UI Canvas with 12 images, and after setting material for each image to 'Sprites-Default', FPS went up to 60. Thanks nikita600!
     
  6. SidarVasco

    SidarVasco

    Joined:
    Feb 9, 2015
    Posts:
    163
    Anything using masks ( or scroll view ) also drags down performance drastically.
    Anyone know anything about this?
     
    mimiCryMuffin likes this.
  7. IzzySoft

    IzzySoft

    Joined:
    Feb 11, 2013
    Posts:
    376
    not really sure :p

    but i'm wondering how many FPS does this WebPlayer example with a decent number of images in a ScrollView show on your machine? Link

    Just wondering if its your PC.
    It average a little below 80 FPS for me.
     
  8. SidarVasco

    SidarVasco

    Joined:
    Feb 9, 2015
    Posts:
    163
    I just learned that there is RectMask2D which uses scissors instead of stencilbuffer me thinks. But performance still isn't too great.
     
    mimiCryMuffin likes this.
  9. yapaysinek

    yapaysinek

    Joined:
    Nov 19, 2013
    Posts:
    5
    OMG thank you for sharing this with us!! My game's fps jumped from 17 to 50(!!!) just by adding the materials!! And of course thank y'all for all the tips and tricks! <33
     
  10. mopsicus

    mopsicus

    Joined:
    Feb 15, 2016
    Posts:
    13
    yeah! my problem has been solved too. but now cpu usage is raised.
    thx for that!
     
  11. xucian

    xucian

    Joined:
    Mar 7, 2016
    Posts:
    846
    Hey guys, happy to announce the V2.0 Optimized ScrollView Adapter is out, improved and with horizontal scrolling support: http://u3d.as/xXQ