Skip to content

Sample Unity project for using TLabWebView (3D web browser / 3D WebView plugin) with MRTK3 in OculusQuest

Notifications You must be signed in to change notification settings

TLabAltoh/TLabWebViewMRTK3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLabWebViewMRTK3

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.


ScreenShot

Operating Environment

  • Oculus Quest 2
  • Qualcomm Adreno650

Requirements

Get Started

Installing

Clone the repository with the following command

git clone https://github.com/TLabAltoh/TLabWebViewMRTK3.git

cd TLabWebViewMRTK3

git submodule update --init

Set Up

Please see the setup section here

Sample Scene

/Assets/Scenes/SampleScene.unity