Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: brtaft on February 17, 2013, 04:13:14 PM
-
I am seeing two errors after updating the very latest version of NGUI on a existing project. The project is just a two buttons on a panel. Its telling me to set a mTrans variable in the inspector for the UIAnchor scrit - but I don't this property in the inspector.
UnassignedReferenceException: The variable mTrans of 'UIAnchor' has not been assigned.
You probably need to assign the mTrans variable of the UIAnchor script in the inspector.
UnityEngine.Transform.get_position ()
UIAnchor.Update () (at Assets/NGUI/Scripts/UI/UIAnchor.cs:190)
UnassignedReferenceException: The variable mRen of 'UIDrawCall' has not been assigned.
You probably need to assign the mRen variable of the UIDrawCall script in the inspector.
UIDrawCall.UpdateMaterials () (at Assets/NGUI/Scripts/Internal/UIDrawCall.cs:214)
UIDrawCall.OnWillRenderObject () (at Assets/NGUI/Scripts/Internal/UIDrawCall.cs:313)
UnityEditor.DockArea:OnGUI()
-
Please follow the update instructions carefully. You need to start a new scene prior to deleting NGUI folder and importing the updated package.
Restart Unity.