Xcube-Studio / Natsurainko.FluentLauncher

Natsurainko.FluentLauncher A Minecraft launcher designed for Windows 11
https://fluentlauncher.natsurainko.work/
MIT License
290 stars 15 forks source link

[Bug] CommunityToolkit 内部错误 EffectAnimation 引发的 System.ArgumentNullException #189

Closed MinecrafterLunar closed 11 months ago

MinecrafterLunar commented 1 year ago

Describe the bug

System.ArgumentNullException System.ArgumentNullException: Value cannot be null. (Parameter 'The target effect cannot be animated at this time. If you're targeting one of the built-in effects, make sure that the PipelineEffect.IsAnimatable property is set to true.') at CommunityToolkit.WinUI.UI.Animations.EffectAnimation3.<AppendToBuilder>g__ThrowArgumentNullException|4_1() at CommunityToolkit.WinUI.UI.Animations.EffectAnimation3.AppendToBuilder(AnimationBuilder builder, Nullable1 delayHint, Nullable1 durationHint, Nullable1 easingTypeHint, Nullable1 easingModeHint) at CommunityToolkit.WinUI.UI.Animations.AnimationSet.StartAsync(UIElement element, CancellationToken token) at CommunityToolkit.WinUI.UI.Animations.AnimationSet.Start(UIElement element) at System.Threading.Tasks.Task.<>c.b128_0(Object state) at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b0()

Steps to reproduce the bug

Go to News

Expected behavior

No response

Environment

No response

Attachment

No response

natsurainko commented 1 year ago

Does this problem occur every time I open the news page? Or random? This error seems to be an internal error of Community Toolkit. We have never encountered it during local debugging. If possible, could you provide some device information? 这个问题每次打开新闻页面都会产生吗?还是随机的? 这个错误貌似是 Community Toolkit 的内部错误,我们本地调试的时候从来没有遇到过。 如果可以能否提供一些设备信息?

MinecrafterLunar commented 1 year ago

Pretty random. First time I did it, it goes wrong. Second time it suddenly becomes fine.

Strange.