Skip to content

Unity Hololens 2 sample crashes at startup #193

Closed
@ptc-ccrabb

Description

@ptc-ccrabb

I have enrolled my HoloLens in Windows Insider program, using the "Dev" channel. It is running version 22621.1083.arm64fre.ni_release_svc_sydney.230514-1300 and I have reproduced the crash on a fresh reboot.

The debug output in Visual Studio contains this big hint:

WebView2: Failed to find an installed WebView2 runtime or non-stable Microsoft Edge installation.

According to https://learn.microsoft.com/en-us/hololens/hololens-insider#windows-insider-release-notes the WebView2 component should be available in build 10.0.22621.1061 -- I think my installed version ( 22621.1083 ) is newer.

I have made the changes in my Package.appxmanifest as described at https://learn.microsoft.com/en-us/hololens/hololens-insider#webview2-now-available

I have tried to manually install the Dev channel of Microsoft Edge following the instructions at https://www.microsoftedgeinsider.com/en-us/download?platform=hololens2. The installers fail to launch on my HoloLens.

The Mixed Reality Feature Tool is bringing in version 0.17.1-pre.3 of com.microsoft.mixedreality.webview.unity.

Running the sample app through Unity's play mode works just fine.

Is there some change I can make to enable development/exploration of the WebView2 component in a Unity app on a HoloLens 2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions