I just had the same issue, try to cut your function, re-paste it, to save file again. It’s just a script reload issue I think. Try to re-launch Unity, some things like that.
If it doesn’t work, it’s possible that you have the wrong parameters, look at Animation Event Manual ![]()
