MicrosoftEdge / MicrosoftEdge/WebView2Samples

App crashes on HoloLens when using default WebView prefab from Microsoft.MixedReality.WebView 0.17.1-pre.5

Open
#277 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1k
Forks
521
Avg merge
13m
Merged PRs (30d)
1

Description

The application builds successfully and runs fine in the Unity Editor, but it consistently crashes when deployed to a HoloLens 2 device.
This happens both when using the default prefab from the Microsoft.MixedReality.WebView (Preview) package (0.17.1-pre.5), and when manually adding the WebView component to a GameObject.

The issue occurs identically with:
MRTK 2.8 and MRTK 3

The crash happens every time, and the error is the same in all cases.

Unity version:
2021.3.28f1 or 2021.3.24f1

Note:
The error does not occur in the Unity Editor, and the build completes successfully without any warnings or errors. The crash only happens once the app is launched on the HoloLens 2 device after the compilation succes.

Screenshot:
Image

Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash on a HoloLens 2 with Unity 2021.3.28f1 or 2021.3.24f1, using the default Microsoft.MixedReality.WebView 0.17.1-pre.5 prefab and then a manually added WebView component. Compare behavior across MRTK 2.8 and MRTK 3, and inspect the device crash details represented by the attached screenshot. Done means identifying the cause and preventing the launch-time crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
unity
Domain
ar-vr-xr, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.