Skip to main content

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

  1. Purchase Vuplex Windows WebView
  2. Import the .unitypackage from your Vuplex dashboard
  3. Include Core/ and Standalone/ directories (skip Mac/)

2. Implement the Interface

Create a class implementing IWindowsWebBrowserClient:

3. Initialize with Custom WebView

4. Configure Scripting Defines

  1. Go to FileBuild SettingsPlayer Settings
  2. Navigate to PlayerOther Settings
  3. Add IMMUTABLE_CUSTOM_BROWSER to Scripting Define Symbols
  4. Click Apply
This excludes the default WebView from your build.

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 the LogLevel property to control the severity of logged messages. The default is LogLevel.Info.

Redacting sensitive tokens in logs

By default, access and ID tokens are logged in full. Set RedactTokensInLogs to true to replace them with [REDACTED] in log output.
Use this when debugging or sharing logs to avoid exposing sensitive data.

Next Steps

Platform Setup

iOS, Android configuration

FAQ

Common questions