Easily display and interact with web content in 3D or 2D using the ultimate web browser plugin trusted by hundreds of developers (
https://developer.vuplex.com/webview/overview#featured-customers). Download a free trial (
https://store.vuplex.com/free-trials/?product=Unity.WebView.Uwp) and see the developer site (
https://developer.vuplex.com/webview/overview) for full documentation.
🌐 Load a webpage from a URL (
https://developer.vuplex.com/webview/IWebView#LoadUrl) or HTML string (
https://developer.vuplex.com/webview/IWebView#LoadHtml)
<> Create UIs with HTML (
https://blog.vuplex.com/how-to-create-unity-ui-with-html)
⚡️ Get started fast with the 3D WebViewPrefab (
https://developer.vuplex.com/webview/WebViewPrefab) or 2D CanvasWebViewPrefab (
https://developer.vuplex.com/webview/CanvasWebViewPrefab), which render to a Texture2D and handle user interactions (
https://support.vuplex.com/articles/clicking) (click, scroll, drag)
🖥 Includes a Native 2D Mode (
https://support.vuplex.com/articles/native-2d-mode) optimized for 2D
⌨️ Type with the included on-screen keyboard (
https://developer.vuplex.com/webview/Keyboard)
• 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 UWP WebView component (
https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.webview)
• 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)
• 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/UwpWebView)
Examples
• 3D WebView's included demo scenes:
◦ SimpleWebViewDemo
◦ CanvasWebViewDemo
◦ AdvancedWebViewDemo
◦ CanvasWorldSpaceDemo
◦ PopupDemo
• Hololens example (MRTK2) (
https://github.com/vuplex/hololens-webview-example)
• XR Interaction Toolkit example (
https://github.com/vuplex/xrit-webview-example)
System requirements
• Unity 2019.4 or newer
• Universal Windows Platform on Windows 10+ (x64, x86, arm, arm64) with D3D11 graphics
• IL2CPP (deprecated .NET runtime not supported)
• Requires the Build Type be set to "XAML Project" because the XAML WebView component is used as the browser engine
• Adds < 10 MB to the app's size
Important notes and limitations
• This package only supports UWP. 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 UWP plugins are provided as precompiled libraries, and the native source code for them is not provided.
• 3D WebView's native UWP plugins can't run in the editor, so a mock webview implementation (
https://support.vuplex.com/articles/mock-webview) is used b
Description sourced from the Unity Asset Store listing.