Is this an Animation Event bug?

Have have two animations, each with an animation event that triggers the exact same function from the same script.

For example,

ShootRifle animation clip has an event that calls UnitAnimationEvents.ShootBullet();

and

ShootPistol animation clip has an event that calls UnitAnimationEvents.ShootBullet();

I’ve noticed that the animation events don’t fire unless I ensure that the function names are different for each animation event call.

Is this by design or a bug?

that shouldn’t matter, you can reuse the same function for different events.

if it doesn’t work please log a bug

It’s a very strange bug. I moved the animation event to a different location within the clip and renamed the function and now it works.

It’s probably something very difficult to replicate, but I’ll see if I can figure it out and replicate it outside my project.