azchohfi / LottieUWP

UWP port of Lottie(https://github.com/airbnb/lottie-android)
Apache License 2.0
274 stars 45 forks source link

LottieUWP will crash when the EndValue of keyframe is null #63

Open HHChaos opened 5 years ago

HHChaos commented 5 years ago

LottieUWP will crash when using the lottie file exported by the latest Bodymovin. The reason for the crash is that the EndValue of some keyframes is null (StartValue is a valid value), I think in this case the EndValue should be considered equal to StartValue instead of throwing an exception.

crash

Here is the file that caused the crash, it works fine on lottiefiles.com. testlottie.zip