Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: e295166319 on July 10, 2016, 08:44:42 PM

Title: NGUI bug
Post by: e295166319 on July 10, 2016, 08:44:42 PM
Why this problem occurs? :-\

NullReferenceException
Object reference not set to an instance of an object
UIDrawCall.set_isDirty (Boolean value)
UnityEngine.Transform.TransformPoint (Vector3 position)
UIPanel.UpdateDrawCalls ()
UIPanel.LateUpdate ()

06-25 07:10:12.388 17810 17848 I Unity : NullReferenceException: Object reference not set to an instance of an object

06-25 07:10:12.388 17810 17848 I Unity : at UIDrawCall.set_isDirty (Boolean value) [0x00000] in <filename unknown>:0

06-25 07:10:12.388 17810 17848 I Unity : at UnityEngine.Transform.TransformPoint (Vector3 position) [0x00000] in <filename unknown>:0

06-25 07:10:12.388 17810 17848 I Unity : at UIPanel.UpdateDrawCalls () [0x00000] in <filename unknown>:0

06-25 07:10:12.388 17810 17848 I Unity : at UIPanel.LateUpdate () [0x00000] in <filename unknown>:0


How to solve this problem? Thanks!~
Title: Re: NGUI bug
Post by: ArenMook on July 11, 2016, 01:16:18 AM
Did you unload a scene that had NGUI UI without moving the NGUI's game objects over to a new scene?
Title: Re: NGUI bug
Post by: e295166319 on July 11, 2016, 05:20:27 AM
Did you unload a scene that had NGUI UI without moving the NGUI's game objects over to a new scene?

I am not sure, this error is random, and there is no other possible?
Title: Re: NGUI bug
Post by: ArenMook on July 13, 2016, 10:25:49 AM
I've only heard of this happening when unloading a scene with NGUI's UI still in it.