Author Topic: Why duplicate drawcalls appear when SetActive a widget ?  (Read 2109 times)

doluvor

  • Guest
Why duplicate drawcalls appear when SetActive a widget ?
« on: November 28, 2013, 02:22:46 AM »
When SetActive a widget in editmode or game, the drawcall widgets in UIPanel inspector becomes twice.
And in the game view, the widget is drawn twice.
If SetActive a UIPanel, the widgets' render Q in the UIPanel are messed up.
But it only happens on UISprite and UITexture, not on the label widgets.Why this happens?
My NGUI version is 3.0.6f5. Unity version is 4.1.5f. Thanks!

P.S. I found that this issue occurred after 3.0.6f2.
« Last Edit: November 28, 2013, 03:13:46 AM by doluvor »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Why duplicate drawcalls appear when SetActive a widget ?
« Reply #1 on: November 28, 2013, 03:30:30 PM »
Assuming you mean UI2DSprite rather than UISprite, the issue should be resolved in f6. If not, please let me know how to reproduce it.