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
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Add comment