Skip to content

[UWP] Camera not capturing when the app is built for .NET Native #1081

@gdougherty-cbt

Description

@gdougherty-cbt

When debugging, or running a release build not built in .NET Native, the UWP version of our app properly displays the camera preview and can properly scan. However, when building the app in .NET Native, a requirement for a UWP app to be listed on the Microsoft Store, the camera view is blank / a white screen and scanning does not work.

This issue seems to have started as recently as Friday, coinciding with the release of KB5029263, however uninstalling that update doesn't seem to resolve the issue. Additionally, the issue seems to affect old builds where the camera was known to be working. This also seems to affect the XamarinCommunityToolkit's CameraView component.

image

If this isn't easily reproducible, I can look into providing an example repository, but that may be out of scope on my end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions