-
Notifications
You must be signed in to change notification settings - Fork 55
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
Crash when using SetVirtualHostMapping #3652
Comments
@ydev0927 could you share more details about the crash? Like the exception info, stack of the crash, or the dump file? |
@LiangTheDev There is no log by "Application.logMessageReceivedThreaded". I have crashdmp from Hololens2 DevicePortal, but filesize is 576MB. What should i do? |
Could you zip the dump file, upload it to some network/cloud drive and share the link with me at lzhao@microsoft.com? |
@LiangTheDev Okay. I shared a file with you via GoogleDrive. |
The error was |
@LiangTheDev Thanks for the analysis.
|
If you put a try-catch around the call to SetVirtualHostMapping, would it catch the error as an exception or still crash the application? |
crash. |
@michaelfarnsworth Would you be able to help here? Sounds like when the SetVirtualHostMapping is called with an invalid path it causes an exception and crash that is not exposed or try-catch-able by the app. |
@champnic I'll take a look. |
Description
Crash when using SetVirtualHostMapping
Version
SDK: com.microsoft.mixedreality.webview.unity-0.17.1-pre.3.tgz
Runtime: Unity2020.3.33
Framework: Unity2020.3.33, MRTK2.8.3
OS: (Unity Editor) Windows 10 22H2, (Hololens2) 22621.1120.arm64fre.ni_release_svc_sydney_rel_prod.230707-1012
Regression
Was this working before but has regressed? > No.
If yes, what version did this last work on?
Repro Steps
https://github.com/MicrosoftEdge/WebView2Samples/
https://github.com/MicrosoftEdge/WebView2Samples/tree/main/GettingStartedGuides/HoloLens2_GettingStarted/HoloLens2GetStartedApp
source: https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/hololens2#setvirtualhostnametofoldermapping-and-setvirtualhostmapping
And create a "{ProjectFolder}/Assets/Html/demo.html". (I don't think it matters)
When I run it, it crashes. (Both Editor and Hololens.)
Screenshots
Additional context
AB#45688087
The text was updated successfully, but these errors were encountered: