Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: RocketPop Games on July 30, 2012, 11:38:11 AM

Title: Gizmo draw error in 2.1.2 (panel outlines for disabled panel)
Post by: RocketPop Games on July 30, 2012, 11:38:11 AM
Hello!

   After upgrading to 2.1.2, I get an exception when I run our game in the editor. It happens when I have selected a widget from UIPanel that is then disabled in code.

NullReferenceException
UIPanel.OnDrawGizmos () (at Assets/ThirdParty/NGUI/Scripts/UI/UIPanel.cs:948)
UnityEditor.DockArea:OnGUI()

Cheers,
-RPG
Title: Re: Gizmo draw error in 2.1.2 (panel outlines for disabled panel)
Post by: ArenMook on July 30, 2012, 05:58:11 PM
Thank you, I will fix it.