You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configuration - then animation seems to be fine. But when switch to newer .coreAnimation then animation is off. Recordings and lottie JSON files are attached.
Which Version of Lottie are you using?
Lottie 4.2.0
Expected Behavior
For .coreAnimation not to mess up the animation (video is attached)
Are you testing with renderingEngine: .coreAnimation or renderingEngine: .automatic?
It's expected that renderingEngine: .coreAnimation will sometimes be incorrect. You should prefer using renderingEngine: .automatic, which falls back to the Main Thread rendering engine if it detects the Core Animation rendering engine doesn't support the animation.
This appears to be an issue with how Core Animation itself is interpolating the transform keyframes. If we force this animation to use the expensive "manual interpolation" codepath then the legs are positioned correctly. This introduces other issues, and I'm also not sure how to detect this case dynamically (e.g. we wouldn't want to just "always" use the expensive codepath, because that would hurt performance for all other animations).
For now, using the main thread rendering engine is a good workaround.
Hi
When I use
configuration - then animation seems to be fine. But when switch to newer
.coreAnimation
then animation is off. Recordings and lottie JSON files are attached.Which Version of Lottie are you using?
Lottie 4.2.0
Expected Behavior
For .coreAnimation not to mess up the animation (video is attached)
rendering-mainThread.mov
Actual Behavior
Video is attached
rendering-coreAnimation.mov
Animation JSON
data.json.zip
The text was updated successfully, but these errors were encountered: