Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation differs between using .coreAnimation and .mainThread as the rendering engine. #1992

Open
mingso opened this issue Mar 10, 2023 · 1 comment
Labels
bug Core Animation rendering engine Regressions introduced by the Core Animation rendering engine

Comments

@mingso
Copy link

mingso commented Mar 10, 2023

Which Version of Lottie are you using?

Lottie 4.0.1 ~ 4.1.3

Expected Behavior

expected.mp4

Actual Behavior

actual.mp4

Animation JSON

background.json.zip


When setting the rendering engine to .mainThread, it operates normally, but an error occurs when setting it to .coreAnimation.

It seems that this issue may be related to this section, as changing the "h" value to 0 in lines 71, 118, and 174, ... of the background.json file results in normal operation.
(However, it may not be related to that section because I don't know what each property means.)

Thank you.

@calda calda added bug Core Animation rendering engine Regressions introduced by the Core Animation rendering engine labels Mar 10, 2023
@InfiniteFalltrough
Copy link

InfiniteFalltrough commented Mar 14, 2024

Lottie 4.4.1 - same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Animation rendering engine Regressions introduced by the Core Animation rendering engine
Projects
None yet
Development

No branches or pull requests

3 participants