Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: doluvor on November 28, 2013, 02:22:46 AM

Title: Why duplicate drawcalls appear when SetActive a widget ?
Post by: doluvor 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.
Title: Re: Why duplicate drawcalls appear when SetActive a widget ?
Post by: ArenMook 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.