Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: vip_prizrak_3 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).
(http://s019.radikal.ru/i608/1306/c8/cc87e8c51e4e.jpg)
When i open new panel on full screen(look at img_2) then FPS falls to 20.
(http://s004.radikal.ru/i205/1306/78/e6b89c8a202f.jpg)
When i open new panel again then FPS falls more ;( (look at img_3)
(http://s55.radikal.ru/i147/1306/f5/0b1e86006417.jpg)
What can I do to raise the FPS?
My device: ACER ICONIA A500
-
You have a full-screen panel covering your entire screen. You should disable your main camera (3D camera drawing your tank) when that happens.
-
But what can be done when the panel does not cover the whole screen and you can not turn off the main camera?
(http://s56.radikal.ru/i152/1306/13/08dea779985a.jpg)
-
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.
-
In Asset Store is currently available only version 2.6.2.
-
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.
-
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).
-
Yeah just wait for 2.6.3. It should be out shortly.