gindemit / unity-rlottie

Unity library that plays Lottie Animation to Texture2D
MIT License
147 stars 23 forks source link

Some animations from Lottiefiles aint recognized as lottie animation #21

Closed JChudinov closed 3 months ago

JChudinov commented 6 months ago

Good day. While using AnimatedImage component some animations are not recognized as lottie.

This is an example of animation that is not recognized: https://lottiefiles.com/animations/merry-christmas-rHWirI2aZ2

This one works well: https://lottiefiles.com/animations/radar-loading-quRoUzmGZN

Hope both links are valid. Tried to create own animation with lottiefiles, but mine one either fails.

gindemit commented 6 months ago

Hello @JChudinov, thanks for the report! It seems that the merry christmas animation uses some body movin features that are not supported by the rlottie library. You can try the animation yourself with the rlottie online player: http://rlottie.com/

This Unity plugin uses the rlottie library internally to render the animation to Unity Texture2D.

image

You can review the supported features here: https://github.com/Samsung/rlottie?tab=readme-ov-file#supported-after-effects-features