Hi,
Using NGUI 3.4.9 and Unity Pro 4.3.1f1. I've been working without a problem the last couple of days, but now am getting a Argumentexception: couldn't bind to method 'Play' error.
The error comes up when I click a button which invokes a tween alpha on a sprite which has this hierarchy:
Sprite
-button
-scrollview
--grid
---empty widget1 (collider, UIDrag Scroll View, UICenter on Click)
----label
----label
---empty widget2 (collider, UIDrag Scroll View, UICenter on Click)
----label
----label
The last thing I did before I got this error, was to change the font on a label under empty widget1.
Here is the console output:
System.Delegate.GetCandidateMethod (System.Type type, System.Type target, System.String method, BindingFlags bflags, Boolean ignoreCase, Boolean throwOnBindFailure) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/Delegate.cs:351)
System.Delegate.CreateDelegate (System.Type type, System.Object target, System.String method, Boolean ignoreCase, Boolean throwOnBindFailure) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/Delegate.cs:397)
System.Delegate.CreateDelegate (System.Type type, System.Object target, System.String method, Boolean ignoreCase) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/Delegate.cs:406)
System.Delegate.CreateDelegate (System.Type type, System.Object target, System.String method) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/Delegate.cs:300)
EventDelegate.Get () (at Assets/NGUI/Scripts/Internal/EventDelegate.cs:154)
EventDelegate.Execute () (at Assets/NGUI/Scripts/Internal/EventDelegate.cs:219)
EventDelegate.Execute (System.Collections.Generic.List`1 list) (at Assets/NGUI/Scripts/Internal/EventDelegate.cs:293)
UIButton.OnClick () (at Assets/NGUI/Scripts/Interaction/UIButton.cs:120)
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
UICamera:Notify(GameObject, String, Object) (at Assets/NGUI/Scripts/UI/UICamera.cs:794)
UICamera:ProcessTouch(Boolean, Boolean) (at Assets/NGUI/Scripts/UI/UICamera.cs:1463)
UICamera:ProcessMouse() (at Assets/NGUI/Scripts/UI/UICamera.cs:1092)
UICamera:ProcessTouches() (at Assets/NGUI/Scripts/UI/UICamera.cs:1162)
UICamera:Update() (at Assets/NGUI/Scripts/UI/UICamera.cs:939)
Any help would be greatly appreciated.