Skip to content

TLabAltoh/TLabWebViewVR-OculusIntegration-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLabWebViewVR-OculusIntegration-2022

Overview

This sample Unity project is the minimum configuration for using TLabWebView (3D web browser / 3D WebView plugin) with the MetaXR SDK. This includes searchbar example and javascript event (text area focus/focusout) example to toggle virtual keyboard visibility.

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

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.


Getting Started

Requirements

  • Unity Editor: 2022.3.19f1

Installing

Clone the repository with the following command

git clone https://github.com/TLabAltoh/TLabWebViewVR-OculusIntegration-2022.git

cd TLabWebViewVR-OculusIntegration-2022

git submodule update --init

Set up

Please see the setup section here

When using the OpenXR plugin

Please disable Force Remove Internet Permission from XR Plugin Manegement

About

This sample Unity project is the minimum configuration for using TLabWebView (3D web browser / 3D WebView plugin) with the MetaXR SDK. This includes searchbar example and javascript event (text area focus/focusout) example to toggle virtual keyboard visibility.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors