Author Topic: Orphaned UIDrawCall Detected!  (Read 4512 times)

Drexster

  • Guest
Orphaned UIDrawCall Detected!
« on: June 21, 2012, 04:41:22 PM »
Not sure what's causing this, but just noticed some orphaned NGUI objects in my scene when starting play.
Selecting them results in the following warning:

"Orphaned UIDrawCall detected!
Use [Selection -> Force Delete] to get rid of it.
UnityEngine.Debug:LogWarning(Object)
UIDrawCallInspector:OnInspectorGUI() (at Assets/NGUI/Scripts/Editor/UIDrawCallInspector.cs:37)
UnityEditor.DockArea:OnGUI()"

Any clue on how to prevent this from happening, or to clean it up?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Orphaned UIDrawCall Detected!
« Reply #1 on: June 21, 2012, 05:24:33 PM »
It may be possible for draw calls to become orphaned if you did something strange, such as editing code while the game is running. I suggest tracking down what you did in order to make them become orphaned, and not doing it in the future. :)

alternativee30

  • Guest
Re: Orphaned UIDrawCall Detected!
« Reply #2 on: June 28, 2012, 03:43:20 AM »
I also have recently started having this problem. The cause for me is updating to NGUI 2.09a. I havent messed around with singling out which script or component is causing the behavior yet.
On play i  get a cloned GUI version of itself that doesn't move with my character controller.

I will post later on when i update smaller chunks of NGUI at a time to figure out what is causing the conflict.

PhilipC

  • Guest
Re: Orphaned UIDrawCall Detected!
« Reply #3 on: June 28, 2012, 10:27:36 AM »
Did you upgrade NGUI while a scene that had NGUI objects in it was open? If so that would cause this issue.