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

Bezier path is unexpectedly missing final segment #2342

Closed
barendu opened this issue Mar 14, 2024 · 6 comments · Fixed by #2418
Closed

Bezier path is unexpectedly missing final segment #2342

barendu opened this issue Mar 14, 2024 · 6 comments · Fixed by #2418
Labels
bug Main Thread rendering engine Bugs in the legacy Main Thread rendering engine

Comments

@barendu
Copy link

barendu commented Mar 14, 2024

Which Version of Lottie are you using?

Lottie 4.4.1

Expected Behavior

Actual Behavior

Uploading RPReplay_Final1710824469.MP4…

Animation JSON

data.json

@barendu
Copy link
Author

barendu commented Mar 14, 2024

@barendu barendu changed the title 从2.2.5升级到4.4.1 lottie 从2.2.5升级到4.4.1 lottie,相同lottie资源,4.4.1加载有问题 Mar 14, 2024
@chengongwen
Copy link

从2.2.5升级到4.4.1 lottie,相同lottie资源,4.4.1加载有问题,加载的黑色元素被丢失了

@barendu barendu changed the title 从2.2.5升级到4.4.1 lottie,相同lottie资源,4.4.1加载有问题 从2.2.5升级到4.4.1 lottie,相同lottie资源,4.4.1加载有问题,之前的没有问题 Mar 14, 2024
@barendu
Copy link
Author

barendu commented Mar 19, 2024

我的是动画不对

@barendu
Copy link
Author

barendu commented Mar 19, 2024

Uploading RPReplay_Final1710824469.MP4…

@barendu barendu changed the title 从2.2.5升级到4.4.1 lottie,相同lottie资源,4.4.1加载有问题,之前的没有问题 从2.2.5升级到4.4.1 lottie,相同lottie资源,4.4.1动画有问题,之前的没有问题 Mar 19, 2024
@calda calda changed the title 从2.2.5升级到4.4.1 lottie,相同lottie资源,4.4.1动画有问题,之前的没有问题 Bezier path is unexpectedly missing final segment Apr 15, 2024
@calda calda added bug Main Thread rendering engine Bugs in the legacy Main Thread rendering engine labels Apr 15, 2024
@calda
Copy link
Member

calda commented Apr 15, 2024

For future reference, this seems to be an issue where the bezier path is unexpectedly missing its last element:

image

(left is the iOS main thread rendering engine, right is lottie-web)

@calda
Copy link
Member

calda commented Jun 3, 2024

Here's a fix: #2418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Main Thread rendering engine Bugs in the legacy Main Thread rendering engine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants