Custom Windows WebView
The default Unity Web Browser (UWB) doesn’t support IL2CPP. For IL2CPP builds or more control, integrate a third-party WebView.Vuplex Integration
Vuplex is a commercial WebView that supports IL2CPP.1. Install Vuplex
- Purchase Vuplex Windows WebView
- Import the
.unitypackagefrom your Vuplex dashboard - Include
Core/andStandalone/directories (skipMac/)
2. Implement the Interface
Create a class implementingIWindowsWebBrowserClient:
3. Initialize with Custom WebView
4. Configure Scripting Defines
- Go to File → Build Settings → Player Settings
- Navigate to Player → Other Settings
- Add
IMMUTABLE_CUSTOM_BROWSERto Scripting Define Symbols - Click Apply
5. Exclude Vuplex from Non-Windows Builds
Follow Vuplex’s platform exclusion guide to prevent Vuplex from being included in iOS/Android builds.Custom Timeout Configuration
Override default timeouts for SDK operations:Manual Deep Link Handling
If you need custom deep link handling:Session Persistence
The SDK automatically persists sessions. To manually control:Custom HTTP Client
For advanced networking requirements:Debugging
Enable Verbose Logging
WebView Debugging
For WebView issues:- Build a Development Build
- Connect Chrome DevTools (for Android/Windows)
- Inspect the WebView console for JavaScript errors
Network Inspection
Use a proxy tool (Charles, Fiddler) to inspect SDK network calls:- Auth endpoints:
auth.immutable.com - API endpoints:
api.sandbox.immutable.com(testnet) orapi.immutable.com(mainnet)
Memory Management
Cleanup
Dispose of passport when no longer needed:Asset Loading
NFT images are loaded via URL. For large inventories, implement lazy loading:Async/Await Patterns
The SDK usesUniTask for async operations: