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
- 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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment