Author Topic: Problem with low FPS  (Read 4044 times)

vip_prizrak_3

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 31
    • View Profile
Problem with low FPS
« on: June 20, 2013, 08:55:33 AM »
Hi everyone! I have some problem with FPS on UI ;(
When in UI closed all panels i've FPS 28-30 (look at img_1).



When i open new panel on full screen(look at img_2) then FPS falls to 20.



When i open new panel again then FPS falls  more ;( (look at img_3)



What can I do to raise the FPS? 
My device: ACER ICONIA A500

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problem with low FPS
« Reply #1 on: June 20, 2013, 01:27:19 PM »
You have a full-screen panel covering your entire screen. You should disable your main camera (3D camera drawing your tank) when that happens.

vip_prizrak_3

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 31
    • View Profile
Re: Problem with low FPS
« Reply #2 on: June 21, 2013, 02:53:44 AM »
But what can be done when the panel does not cover the whole screen and you can not turn off the main camera?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problem with low FPS
« Reply #3 on: June 21, 2013, 02:55:36 AM »
Version 2.6.3 has some major performance improvements for Unity 4.1+ users. Other than that -- it's all about how you optimize your UI. Making use of "widgets are static" property within panels is a great way to boost performance.

vip_prizrak_3

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 31
    • View Profile
Re: Problem with low FPS
« Reply #4 on: June 21, 2013, 03:35:24 AM »
In Asset Store is currently available only version 2.6.2.

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Problem with low FPS
« Reply #5 on: June 21, 2013, 03:57:11 AM »
Did you profile your game with unity profiler ?
Is this scene running on a particular phone or tablet ?

You can take a screenshot of your scene when you open a panel, disable the camera and show that screen in the background.
Graphicstream Dev.

vip_prizrak_3

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 31
    • View Profile
Re: Problem with low FPS
« Reply #6 on: June 21, 2013, 04:09:59 AM »
When the panel is closed in the profiler UIPanel.LAteUpdate takes 5% CPU, when opened - 20% CPU and FPS falls to 20.
This does not happen on top devices, but on older devices the performance is very falls (for example ACER ICONIA A500).

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problem with low FPS
« Reply #7 on: June 21, 2013, 05:20:39 AM »
Yeah just wait for 2.6.3. It should be out shortly.