airbnb / lottie-ios

An iOS library to natively render After Effects vector animations
http://airbnb.io/lottie/
Apache License 2.0
25.65k stars 3.74k forks source link

Grouped shapes not rendering #2239

Open mendimr opened 9 months ago

mendimr commented 9 months ago

I think this might be a bug on iOS/macOS engine where if you group shapes in a layer they won't render

Lottie 4.0.1

Behavior where shapes are not grouped and do not have transform animations: https://www.dropbox.com/scl/fi/5mqfsevi3ic5k66alauvk/Lottie-iOS-Shapes-Working.mov?rlkey=y2i5b4q78mthk9gpg6ra4qjy3&dl=0

Behavior where shapes are grouped and have transform animations: https://www.dropbox.com/scl/fi/v9s699zzh6j3vsxl7252w/Lottie-iOS-Shapes-NotWorking.mov?rlkey=myy747156sbhmk9ab4qu78usx&dl=0

On each behavior video I included the Web Player 1.5.7 that works in both cases

Animation JSON: grinn11.json

mendimr commented 9 months ago

Update: When using the Main Thread rendering engine with Lottie 4.3.3, the shapes render just fine so the problem is with the Core Animation rendering engine.

pauluhn commented 9 months ago

issue is still there for 4.3.4 but switching to main thread engine works correctly