- Home /
Mecanim animation clip length works in editor but not in player
We're querying an AnimationClip's length using the .length property in order to wait until clips are complete before performing actions and repeating animation sequences. When running the game in the editor the length property is accurate, but when running a standalone build all animations have a length of exactly 1 (see below).
This problem exists in both Windows and OSX builds. In case it's relevant, the AnimationClip reference is created by dragging it in the inspector.
Does anyone know what causes this issue? Is there a solution or workaround?
Your answer
Follow this Question
Related Questions
Problem using mecanim and the Animation process 0 Answers
Duplicating and Tweaking Mecanim 2D Animations 1 Answer
animation to animator [mecanim] 1 Answer
Remove all location transformation from animation clip 1 Answer
Is there a way to change the WrapMode of all Animations in a Mecanim Animator? 1 Answer