Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

5.0.0a17

Issue ID

620531

Regression

No

[AnimationEvent upgrade] Enum and AnimEvent options missing from Mecanim Animation Event window

Animation

-

- Create a Mecanim event
- Create a script with a method having the name of the event, but that takes two arguments instead of one
- Add the animated character to a scene and add the script to it.

When running the scene you will get the following error: "Failed to call AnimationEvent Rename of class NewBehaviourScript.
The function must have either 0 or 1 parameters and the parameter can only be: string, float, int, enum, Object and AnimationEvent.
" This means that either the error specifies argument types that are not supported (enum and AnimationEvent) or that the Animation Event window is missing input fields for selecting those types of arguments.

Open and run test scene in the attached project if you need a quick repro.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.