Sample Unity project for using TLabWebView
(3D web browser / 3D WebView plugin) in OculusQuest. Includes Meta XR SDK
and XR Interaction Toolkit
implementation example.
Document is here
Snippets is here
Warning
Note that this project only works on Android devices; it will not display web pages when run on the Unity Editor.
Warning
Meta XR All-in-One SDK is having a reference error at version 74 (Please see this forum), so I will keep version 72 for now.
Warning
For now, I do not recommend building this project with Unity 6000.x due to unstable. If you do, please refer to the "Configuration for Unity 6000.x" section in the Setup section.
Headset | Oculus Quest 2 |
GPU | Qualcomm Adreno 650 |
Unity | 2021.37f1 |
- Unity 2021.26f1 (meta xr sdk requires Unity Editor 2021.26f1 ~)
- meta-xr-all-in-one-sdk
- com.unity.xr.interaction.toolkit
- TLabVKeyborad
- TLabWebView
- Clone the repository with the following command
git clone https://github.com/TLabAltoh/TLabWebViewVR.git
cd TLabWebViewVR
git submodule update --init
Please see the setup section here
When using the OpenXR plugin
Please disable Force Remove Internet Permission
from XR Plugin Manegement
Configuration for Unity 6000.x
When opening this project in Unity 6000.x, a compile error occurs in the TMPro resource. To resolve this, re-import the TMPro resources.
Also, please change the capture mode from the default HardwareBuffer
to ByteBuffer
.
Assets/TLab/TLabWebViewVR/MetaXR/Samples/Scenes/MetaXR Sample.unity
Assets/TLab/TLabWebViewVR/XRInteractionToolkit/Samples/Scenes/XRInteractionToolkit Sample.unity