-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PipelineBuilder throw a NullReferenceException #235
Comments
@zou-z can you try putting everything in a This template could help with that to also compare against UWP: https://github.com/michael-hawker/WinUI2Plus3Template |
I tried, but it still didn't work and the same error occurred.I even deleted the x:Bind
|
I have a similar issue in a winui project #238 |
I think this might be caused by calls to "Window.Current.Compositor". In the PipelineBuilder.cs file I fould 3 instances. That does not work in WinUI 3. I think this is the same bug as #233. The spots i am talking about are: Windows/components/Media/src/Pipelines/PipelineBuilder.cs Lines 172 to 174 in 82eb9a9
|
Looks like this was missed in porting. @Arlodotexe can you compare against the old branch, seems like updating the Compositor wasn't brought over for WinUI 3 in a few places now, see for instance: |
Describe the bug
I copied sample code from BlurEffectAnimation to my project.Then it throw a NullReferenceException when i run my winui3 application.
Steps to reproduce
The text was updated successfully, but these errors were encountered: