#Retarget Pro: Baked idle Animation looping issues

1 messages · Page 1 of 1 (latest)

mild matrix
#

Hello, I've been investigating an issue with some animations no longer looping correctly after retargeting. These don't happen all the time, and I don't know when exactly it happens, except that they mainly seem to occur when trying to retarget from a humanoid adult to a child character with generic rig (humanoid to generic adult works correctly most of the time). In both cases, the animation loops perfectly fine when played from the Retargeting Window, but in the baked animation, the last frame doesn't match the first one. In the animation preview window this looks like the feet are shifting over time, but when used on a character it's only the last frame that's messed up.

Secondly, the first and last frames sometimes don't match, and there appear to be two curve points on top of each other in the last frame. Though this is mostly imperceptible in the animation, but I use a script to compress the animations (https://github.com/fish-ken/unity-animation-compressor), and the double points (which probably should not exist) completely mess up the last frame. I've opened the baked animation with a text editor and compared with the source file and noticed that the last frame time was very slightly off, meaning the source animation's last frame time was 1.4000001, while the baked animation had an additional frame at 1.4, resulting in these double points in the last frame.

lone peak
mild matrix
#

yes

lone peak
# mild matrix yes

Alright, thanks for reporting the bug. It's related to the last frame not begin processed, a hotfix is coming tomorrow