airbnb / lottie-android

Render After Effects animations natively on Android and iOS, Web, and React Native
http://airbnb.io/lottie/
Apache License 2.0
35.02k stars 5.41k forks source link

White lottie showing in black #2428

Closed GopalAlliance closed 10 months ago

GopalAlliance commented 10 months ago
  1. My animation doesn't use any unsupported features.
  2. I know what part of my animation doesn't work.
  3. I have created a simplified version of my animation
  4. I have attached the AEP file (as a zip file so it can be attached) that only has the part of the animation that doesn't work.

Describe the bug I have a lottie json which is in white color when when i render the white json it's renders in black.

What version of Lottie did you test this on? 6.2.0 What version of Android did you test this on? android 13 Steps To Reproduce Steps to reproduce the behavior:

  1. Just create a white lottie json without any border just create white and transparent
  2. and add to android
  3. it won't render it on white it will render it on black actual lottie image rendered lottie image

Screenshots

gpeal commented 10 months ago

Can you attach the animation?

GopalAlliance commented 10 months ago

white_json.json

gpeal commented 10 months ago

Lottie Android doesn't support fill mask layer effects. Try using normal fills.