...
// Play the checkmark animation
if (activeAnimation != null)
{
ActiveAnimation aa = ActiveAnimation.Play(activeAnimation, null,
state ? Direction.Forward : Direction.Reverse,
EnableCondition.IgnoreDisabledState,
DisableCondition.DoNotDisable);
if (instantTween || !NGUITools.GetActive(this)) aa.Finish(); /// <===== aa is null causing NullReferenceException
}
...