Sample project for using TLabWebView
(3D web browser / 3D WebView plugin) with MRTK3
Document is here
Snippets is here
Note
This is a project created for Oculus Quest 2 using MRTK3, but it will not work with HoloLens. This is because the WebView used is an Oculus (or Android) dependent system.
Warning
I do not recommend building this project on Unity 6000.x when deploying to Oculus Quest (or Meta Quest). Right now, I have found that HardwareBuffer
mode is unstable when this project is built with Unity 6000.x (See this issue for details). If you do, please refer to the "Configuration for Unity 6000.x" section in the Setup section.
Warning
This project uses HardwareBuffer
as the default CaptureMode
for WebView and Vulkan
is used as the default Graphics API
. This combination of HardwareBuffer
option and Vulkan
API is confirmed to work with Oculus Quest, but may not work with some other devices (e.g., the WebView screen may go blank). In that case, Please change the project's Graphics API
from Vulkan
, which is set by default, to OpenGLES
. Or change the CaptureMode
from HardwareBuffer
to ByteBuffer
.
- Oculus Quest 2
- Qualcomm Adreno650
- Unity 2021.3 LTS
- MRTK3
- TLabVKeyborad
- TLabWebView
Clone the repository with the following command
git clone https://github.com/TLabAltoh/TLabWebViewMRTK3.git
cd TLabWebViewMRTK3
git submodule update --init
Please see the setup section here
/Assets/Scenes/SampleScene.unity