Author Topic: NGUI bug  (Read 3115 times)

e295166319

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 2
    • View Profile
NGUI bug
« 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!~

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI bug
« Reply #1 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?

e295166319

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: NGUI bug
« Reply #2 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI bug
« Reply #3 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.