-
Notifications
You must be signed in to change notification settings - Fork 474
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
webpage is blank after deploy it in hololens2,app works fine thougth #203
Comments
hey, @michaelfarnsworth I have the same issue. The result follows : the developing environment : How can I resolve this problem? B.R |
@jhihzonghu could you run the sample under a debugger to see if any notable errors are output? |
Dear @michaelfarnsworth: Thanks for your suggestion. I solved this problem, It should add the extra NuGet plugins and install the webview2. |
Could you please tell what plugins did you install and how? I have the same issue. The project is running, but the web view is empty. |
@jhihzonghu Sorry, I'm not sure I understand the new issue. Are you wanting to place or resize the app? The sample is very simple app and currently doesn't support such manipulation. However, without much work you could add the WebView control to an MRTK Slate, which would have manipulation controls built-in. Here's some documentation about Slates. |
well, It needs to install WebView with NuGet and clone this tutorial project. I hope this response is at the time. BR |
I am sorry that I delayed to feedback result. yeah, I find this tutorial project does not support manipulation partial. According to the official document, the webView is still in the preview stage. After deploying this project at the Hololens2 and reviewing the sample code. I decided to use WebView in the unity scene with the standalone pattern. THX Ken |
For input interactions, the app is responsible for handling, translating, and sending along to the WebView2 control. As there are various ways of handling input, it's up to the developer to implement this. In the sample app, some basic input is wired up. In the future, we may add more. That said, you should be able to achieve scrolling operations with the IWithMouseEvents.MouseEvent method. |
How did you deploy it to the HoloLens? When I deploy the demo project, it keeps crashing constantly after a maximum of 5 seconds, I have opened an issue here as well but it seems like I am the only one with this issue. |
Hi @bensubytes, have you tried deploying/launching from Visual Studio to see if there are any exceptions being thrown? |
i clone Hololnes2GetStartedApp project then deploy it,it works fine,but webpage dont show up,its blank here.
For the record my working envt was:
Unity 2021.3.47f1
OpenXR 1.8.1
MRTK 2.8.3
Webview for Unity 0.17.1-pre5
The text was updated successfully, but these errors were encountered: