Author Topic: NGUItools.Destroy bug  (Read 1980 times)

eddieB

  • Guest
NGUItools.Destroy bug
« on: October 11, 2012, 01:55:41 AM »
Hi
i m currently using NGUI 2.2.2 ans there is a bug with the NGUItools.Destroy function.
sometime if i use destroy on items of a list somes are not deleted.

if i comment the line 471  of the NGUItools the bug is fixed
go.transform.parent = null;

i there an other way to avoid this bug ?
i prefere to not change the plugin class   

ps: this bug appear since the 2.2.2 release.




ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUItools.Destroy bug
« Reply #1 on: October 11, 2012, 04:21:21 AM »
Can you post a callstack up to that call?

eddieB

  • Guest
Re: NGUItools.Destroy bug
« Reply #2 on: October 11, 2012, 04:31:10 AM »
sometime the is no error but the items are not Destroyed
sometimes we have this

!m_ActiveGONode.is_attached()
Assert in file GameObject.cpp line 71