Closed andrasjani closed 5 days ago
Without knowing anything about the Skottie library, I would guess that this is the same issue as #3019? Which in turn is caused by #2999.
Without knowing anything about the Skottie library, I would guess that this is the same issue as #3019? Which in turn is caused by #2999.
The chance is pretty good because I had to upgrade the Maui CommunityToolkit packages which require an explicit WindowsSdkPackageVersion definition:
<WindowsSdkPackageVersion>10.0.19041.41</WindowsSdkPackageVersion>
Closing this for now as the issue is fixed for both v2 and v3 in the latest preview.
The demo project uses the SkiaSharp.Extended.UI.Maui
nuget only. Applying the fix I had to add the SkiaSharp.Views.Maui.Controls
transitive dependency nuget with the version 3.0.0-preview.5.4
.
Now it works fine.
Description
I'm trying to use the lottie view but the windows app crashes without any exception. In Event Viewer I can see the following error:
In XAML the 'IsVisible="True"' triggers the app crash.
I have tested on Android and it works well.
Code
Demo GitHub repository: https://github.com/andrasjani/SKLottieViewCrash
Expected Behavior
The SKLottieView should play the note animation
Actual Behavior
The app crashes after page initialization
Version of SkiaSharp
3.x-preview.4 (Current Preview)
Last Known Good Version of SkiaSharp
2.88.6 (Deprecated)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Windows 11
Devices
Desktop PC (Intel CPU x64)
Relevant Screenshots
No response
Relevant Log Output
Code of Conduct