You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using v4.0.11, because with v4.1.0 it does not render any animation on UWP (I will file a separate bug report for that)
v4.0.11 can trigger a crash (unhandled nullref exception)
This happens when I quickly navigate away from a page with an Lottie animation.
On UWP it seems to need approx 200ms to start animating the visual after displaying the 'begin state'.
If I quickly navigate back (for instance with the back button on my mouse), and I am within this 200ms (the animation has not started yet), the app crashes with a nullref exception.
If I wait for the animation to start moving, and move back then, all is fine.
Expected behavior
no crash.
Reproduction steps
Configuration
Version: 1.x
Platform:
📱 iOS
🤖 Android
[x ] 🏁 WPF
🌎 UWP
🍎 MacOS
📺 tvOS
🐒 Xamarin.Forms
The text was updated successfully, but these errors were encountered:
AnimationViewRenderer._animationView_Loaded (Object sender, RoutedEventArgs e)
System.NullReferenceException: Object reference not set to an instance of an object.
Exception thrown at 0x76DA78A2 (KernelBase.dll) in BB.App.UWP.exe: WinRT originate error - 0x80004003 : 'System.NullReferenceException: Object reference not set to an instance of an object.
at Lottie.Forms.Platforms.Uap.AnimationViewRenderer._animationView_Loaded(Object sender, RoutedEventArgs e)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object state)
at System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()'.
🐛 Bug Report
I have a XF.UWP application.
I am currently using v4.0.11, because with v4.1.0 it does not render any animation on UWP (I will file a separate bug report for that)
v4.0.11 can trigger a crash (unhandled nullref exception)
This happens when I quickly navigate away from a page with an Lottie animation.
On UWP it seems to need approx 200ms to start animating the visual after displaying the 'begin state'.
If I quickly navigate back (for instance with the back button on my mouse), and I am within this 200ms (the animation has not started yet), the app crashes with a nullref exception.
If I wait for the animation to start moving, and move back then, all is fine.
Expected behavior
no crash.
Reproduction steps
Configuration
Version: 1.x
Platform:
The text was updated successfully, but these errors were encountered: