Easily display and interact with web content in 2D using the ultimate web browser plugin trusted by hundreds of developers (
https://developer.vuplex.com/webview/overview#featured-customers). Try the demo (
https://webgldemo.vuplex.com/), download a free trial (
https://store.vuplex.com/free-trials/?product=Unity.WebView.WebGL), and see the developer site (
https://developer.vuplex.com/webview/overview) for full documentation.
Due to browser limitations, this package has significant limitations compared to the other 3D WebView packages. Please see this page (
https://support.vuplex.com/articles/webgl-limitations) for the full list of limitations.
🌐 Load a webpage from a URL (
https://developer.vuplex.com/webview/IWebView#LoadUrl) or HTML string (
https://developer.vuplex.com/webview/IWebView#LoadHtml)
📺 Watch videos and YouTube embeds (
https://support.vuplex.com/articles/webgl-embeds)
<> Create UIs with HTML (
https://blog.vuplex.com/how-to-create-unity-ui-with-html)
⚡️ Get started fast with the 2D CanvasWebViewPrefab (
https://developer.vuplex.com/webview/CanvasWebViewPrefab)
• C# source code for a unified API (
https://developer.vuplex.com/webview/IWebView) that works seamlessly across Windows (
https://assetstore.unity.com/packages/slug/154144), macOS (
https://assetstore.unity.com/packages/slug/154144), Android (
https://assetstore.unity.com/packages/slug/137030), iOS (
https://assetstore.unity.com/packages/slug/137040), visionOS (
https://assetstore.unity.com/packages/slug/279620), WebGL (
https://assetstore.unity.com/packages/slug/202522), and UWP (
https://assetstore.unity.com/packages/slug/166365) (each platform sold separately (
https://support.vuplex.com/articles/is-it-necessary-to-buy-for-each-platform))
• Powered by the HTML <iframe> (
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) element
• Comprehensive APIs for controlling the browser (
https://developer.vuplex.com/webview/IWebView#methods-summary) and listening to browser events (
https://developer.vuplex.com/webview/IWebView#events-summary) (see this page (
https://support.vuplex.com/articles/webgl-limitations) for limitations)
• Execute JavaScript (
https://developer.vuplex.com/webview/IWebView#ExecuteJavaScript)
• Send messages from JavaScript to C# and vice versa (
https://support.vuplex.com/articles/how-to-send-messages-from-javascript-to-c-sharp)
• View PDFs
• Integrate with OAuth (
https://support.vuplex.com/articles/custom-url-scheme)
• Includes additional APIs for platform-specific features (
https://developer.vuplex.com/webview/WebGLWebView)
• Supports transparent pages (
https://support.vuplex.com/articles/how-to-make-a-webview-transparent)
Examples
• 2D WebView's included CanvasWebViewDemo scene
• WebGL WebView Demo (
https://github.com/vuplex/webgl-webview-demo)
System requirements
• Unity 2019.4 or newer
• WebGL Build Support
• Adds < 50 KB to the app's size
Important notes and limitations
• This package only supports WebGL. To support other platforms, you can install additional 3D WebView packages (
https://support.vuplex.com/articles/is-it-necessary-to-buy-for-each-platform), and you can save money on multiple packages by buying a bundle (
https://support.vuplex.com/articles/bundles). All of the 3D WebView packages work seamlessly together, so all you need to do is install them into the same project, and then 3D WebView automatically detects and uses the correct plugin at runtime and build time.
• 3D WebView's native WebGL plugins are provided as precompiled libraries, and the native source code for them is not provided.
• 3D WebView's WebGL plugins can't run in the editor, so a mock webview implementation (
https://support.vuplex.com/articles/mock-webview) is used by default while running in the editor. However, you can actually load and render real web content in the editor by also installing 3D WebView for Windows and macOS (
https://assetstore.unity.com/packages/slug/154144) into the project. You can save money by buying both packages together in a
Description sourced from the Unity Asset Store listing.