Easily display and interact with web content in 3D or 2D using the web browser plugin
trusted by over 1000 developers. See
the developer site for full documentation.
🌐 Load a webpage
from a URL or
HTML string📺 Watch videos and YouTube (
including MP4s and streaming)
<>
Create UIs with HTMLâš¡ï¸ Get started fast with the 3D
WebViewPrefab or 2D
CanvasWebViewPrefab, which render to a Texture2D and
handle user interactions (click, scroll, hover, drag)
âŒ¨ï¸ Type with the included
on-screen keyboard or native keyboard
• C# source code for a
unified API that works seamlesslyacross
Android,
iOS,
Windows,
macOS,
WebGL, and
UWP / Hololens• Powered by
Chromium (currently v100)
• Comprehensive API for
controlling the browser and listening to
browser events•
Execute JavaScript•
Send messages from JavaScript to C# and vice versa• View PDFs
• Also includes
extra platform-specific APIs• Supports
transparent pagesExamples• 3D WebView's included demo scenes:
â—¦ SimpleWebViewDemo
â—¦ CanvasWebViewDemo
â—¦ AdvancedWebViewDemo
â—¦ CanvasWorldSpaceDemo
â—¦ PopupDemo
•
Oculus example (Quest, Rift)
•
XR Interaction Toolkit exampleSystem requirements• Unity 2017.3 or above (except 2017.3 - 2018.1 are unsupported on Windows due to a Unity bug)
• Supports both Mono and IL2CPP
• Windows 8+ (x64) with D3D11 graphics
• macOS 10.10+ (x64, arm64) with Metal graphics
Important notes and limitations• This package only supports Windows and macOS. To support other platforms, you can install additional 3D WebViewpackages (
Android,
iOS,
WebGL,
UWP, or
create a custom bundle). All of the 3DWebView packages work seamlesslytogether, so all you need to do is install them into the same project, and then 3D WebView automatically detects anduses the correct plugin at runtime and build time.
• 3D WebView's native Windows and macOS plugins are provided as precompiled libraries, and the native source code forthem is notprovided.
• The H.264 video codec for MP4s and streaming is disabled by default but
can be enabled.
• The Windows plugin supports building for x86, but the resulting 32-bit app will only run on 64-bit versions of Windows because 3D WebView embeds a 64-bit Chromium executable.
• Building for the Mac App Store is not supported.
• On macOS, the dynamic library used by the Unity process is a universal library that supports both x64 and arm64. Theexecutable for the Chromium process is currently x64 only but runs successfully on M1 Macs via Rosetta.
• The Windows and macOS plugins embed Chromium Embedded Framework, so you must display a copy of its included
BSD-style license in your desktop app's about page or credits.