Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Animation Failed to call AnimationEvent

Discussion in '5.3 Beta' started by chrismarch, Dec 3, 2015.

  1. chrismarch

    chrismarch

    Joined:
    Jul 24, 2013
    Posts:
    318
    I am attempting to upgrade from 5.1.1f1 to 5.3.0f2 and we're seeing a ton of the errors on our character animations. We haven't seen these errors in 5.1.1f1. Is there an API change? Is there a way to log the animation with or right before this error is logged? The events in question seem to have the correct number and type of arguments, but it is hard to tell because we have so many assets, and the log doesn't help us narrow it down to a specific animation.

    Failed to call AnimationEvent NewEvent of class AnimationEventReceiver.
    The function must have either 0 or 1 parameters and the parameter can only be: string, float, int, enum, Object and AnimationEvent.
     
  2. Alex-Lian

    Alex-Lian

    Guest

    That should be fixed in f3 I think. There was a bug in the AnimationEvent calling and that should be fixed now.
     
    chrismarch likes this.