GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TLabAltoh/TLabWebViewVR: Sample Unity project for using TLabWebView (3D web browser / 3D WebView plugin) in OculusQuest. Includes Meta XR SDK and XR Interaction Toolkit implementation example.

BranchesTags
Open more actions menu

Latest commit

 

History

251 Commits
251 Commits

Folders and files

NameName
Last commit message
Last commit date
Assets
Assets
 
 
Media
Media
 
 
Packages
Packages
 
 
ProjectSettings
ProjectSettings
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.vsconfig
.vsconfig
 
 
LICENSE.md
LICENSE.md
 
 
README-ja.md
README-ja.md
 
 
README.md
README.md
 
 
RuntimeActionBindings.json
RuntimeActionBindings.json
 
 
merge.bat
merge.bat
 
 

Repository files navigation

TLabWebViewVR

日本語版READMEはこちら

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

"Buy Me A Coffee"

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.


Screenshot

Watch on Youtube
output

Operating Environment

Headset Oculus Quest 2
GPU Qualcomm Adreno 650
Unity 2021.45f2

Getting Started

Prerequisites

  • Unity 2021.26f1 (meta xr sdk requires Unity Editor 2021.26f1 ~)
  • meta-xr-all-in-one-sdk
  • com.unity.xr.interaction.toolkit
  • TLabVKeyborad
  • TLabWebView

Installing

  • Clone the repository with the following command
git clone https://github.com/TLabAltoh/TLabWebViewVR.git

cd TLabWebViewVR

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

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.


Sample Scene

Meta XR SDK

  1. Assets/TLab/TLabWebViewVR/MetaXR/Samples/Scenes/MetaXR Sample.unity
  2. Assets/TLab/TLabWebViewVR/MetaXR/Samples/Scenes/MetaXR HandTracking Sample.unity

XR Interaction Toolkit

  1. Assets/TLab/TLabWebViewVR/XRInteractionToolkit/Samples/Scenes/XRInteractionToolkit Sample.unity
  2. Assets/TLab/TLabWebViewVR/XRInteractionToolkit/Samples/Scenes/XRInteractionToolkit SpatialKeyborad Sample.unity

Sample Repository for Unity 2022

  • Oculus Integration Sample
  • XR Interaction Toolkit Sample (VR Template)

About

Sample Unity project for using TLabWebView (3D web browser / 3D WebView plugin) in OculusQuest. Includes Meta XR SDK and XR Interaction Toolkit implementation example.

tlabgames.gitbook.io/tlabwebview/

Topics

3d-browser3d-webviewandroidbrowsergeckoviewmeta-questmeta-quest-2meta-quest-3oculus-questoculus-quest-2unityunity3dvirtual-realityvrvr-browserwebview

Resources

Readme
MIT license
Activity

Stars

75 stars

Watchers

6 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.