AnimationEvent has no function name specsified in Unity editor

Animation plays fine but everytime it plays in console have message “AnimationEvent has no function name specified”. What does it mean?


AnimationEvent are handy for running some code. If you script and create a method, you make it public, but this may not be necessary. You can create one of these events in the animation timeline and then assign this method to it. It even has the ability to pass a single parameter to the method if it is defined with it, which is pretty powerful.

How to remove “AnimationEvent has no function name specified” message?

In the animation editor, you must have clicked on the “Add Event” icon. It looks like a pencil with a small + in the bottom right corner and is to the right of the “Add Key” icon. If you have any events in the timeline, they appear at the top as little tall rectangles with a tip at the bottom (pencils, perhaps?). Either way, just right-click and select Delete Animation Event.