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 non-Windows builds.Custom Timeout Configuration
Override default timeouts for SDK operations:Session Persistence
The SDK automatically persists sessions. To manually control:Logging
The Passport SDK provides logging so you can monitor and troubleshoot its behaviour. You can set the log level and optionally redact sensitive data from logs.Log level
Use theLogLevel property to control the severity of logged messages. The default is LogLevel.Info.
| Level | Description |
|---|---|
LogLevel.Debug | Detailed information for debugging |
LogLevel.Info | General SDK operation information (default) |
LogLevel.Warn | Warnings about potential issues |
LogLevel.Error | Errors indicating SDK failures |
Redacting sensitive tokens in logs
By default, access and ID tokens are logged in full. SetRedactTokensInLogs to true to replace them with [REDACTED] in log output.