Author Topic: NGUI causes crash on new devices  (Read 3082 times)

softchips

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
NGUI causes crash on new devices
« on: April 19, 2014, 07:24:39 AM »
Currently using version 2.7.0 because 3.x is too complicated and can not use z pos sorting instead of depth only.

However, users say that our app crashes on new devices such as Note3/G3/G Pro/etc...
(and yes, we too were able to reproduce it)
I think it took about 30sec~1min before the crash.

we tried to upgrade NGUI only to 3.x and our app doesn't crash anymore.
But it's too much work trying to change our whole scripts and somehow, our app became way slower.

if there is any change we can make in our version of NGUI to not make new devices crash,
Please, we'd want to know.

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI causes crash on new devices
« Reply #1 on: April 19, 2014, 11:04:20 PM »
Considering I know nothing about your crash or what it's caused by, there isn't much I can advise you here. If anything, going up to NGUI 3 should make everything faster, not slower. If it's slower then you likely aren't using depth correctly and end up with too many draw calls. Depth handling is the main difference between NGUI 2 and 3.

softchips

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: NGUI causes crash on new devices
« Reply #2 on: April 20, 2014, 12:14:41 AM »
We can see our draw calls have increased a lot so I guess we just need to adjust the depths.
but I don't really understand what you mean by "using depths correctly".
Could you or anyone explain please?

Thanks

softchips

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: NGUI causes crash on new devices
« Reply #3 on: April 20, 2014, 12:58:51 AM »
Never mind. we fixed this issue  :D :D :D :D :D :D :D :D :D :D :D

http://www.tasharen.com/forum/index.php?topic=8415.0
our NGUI is still 2.7.0 but this still helped me a lot in finding what's wrong