Skip to content
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

Webview only showing for a few seconds when shutting down VR device #709

Closed
MaximeSchneberger opened this issue Jul 9, 2021 · 1 comment

Comments

@MaximeSchneberger
Copy link

Hello, I've been following every step to show a webview in an android device, it works well on my smartphone, but when I try to launch the apk on my VR device (HTC Vive), nothing shows except the status message.
The funny thing I discovered, is that when I shut down my VR headset while running the app, it will briefly show the webview when there is no coming back from the shutdown process, do you know if there are any security things on VR devices regarding webviews or other related things that are turned off when shutting down the device, hence enabling the view to briefly show ?

@MaximeSchneberger MaximeSchneberger changed the title Webview only showing for a few seconds after shutting down VR device Webview only showing for a few seconds when shutting down VR device Jul 9, 2021
@KojiNakamaru
Copy link
Member

This plugin just overlays native WebView views over the unity's rendering view and doesn't support 3D textured views and/or VR. Please check #658 (comment) for other solutions.

What happens here may be the following: unity/HTC Vive middleware provides rendering views for two eyes, separated from the ordinal rendering view. WebView views are placed over the default view so they are hidden by these VR-specific rendering views when a VR headset is active and are displayed a bit when the VR headset is shutting down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants