Lightweight Browser
A lightweight multi-platform native webview plugin for Unity that renders web content as Texture2D, allowing Unity UI and game objects to draw on top.
Key Features
- 5 platforms — Windows (WebView2), Android (System WebView), iOS (WKWebView), macOS (WKWebView), Linux (WebKitGTK)
- Texture-based rendering — Web content rendered to
Texture2D, pipeline-agnostic (Built-in, URP, HDRP) - Bidirectional JS ↔ C# bridge —
window.unityBridge API with send, call, on/off patterns - One component setup — Add
LightweightBrowser to any GameObject, set a URL, press Play - Auto-resize —
ScreenResizeHandler detects resolution changes and adapts - Debug overlay — Real-time bridge message inspector (F12)
Prerequisites
- Unity 2022.3 LTS or newer (Unity 6 recommended)
- IL2CPP scripting backend recommended (Mono supported on desktop)
- Linux only: install
libwebkit2gtk-4.1 and libgtk-3 via your package manager - All other platforms ship with their webview runtime pre-installed
See the User Guide for full details.
Quick Links
| Platform | Engine | Min Version |
| Windows 10/11 | WebView2 (Edge Chromium) | Windows 10 1803 |
| Android | System WebView | API 24 (Android 7.0) |
| iOS | WKWebView | iOS 14.0 |
| macOS | WKWebView | macOS 11 (Big Sur) |
| Linux | WebKitGTK | webkit2gtk-4.1 |
Unity Version Support
| Version | Status |
| Unity 6 (6000.x) | Recommended |
| Unity 2023.x | Supported |
| Unity 2022.3 LTS | Minimum supported |
Support