Getting started

  1. First, purchase and import one or more 3D WebView packages:
  2. Next, add an example scene to your build:
  3. Windows settings:
    1. Set "Graphics APIs for Windows" to "Direct3D11".
  4. macOS settings:
    1. Set "Graphics APIs for Mac" to "Metal".
    2. Verify that "Metal Editor Support" is enabled.
  5. Android settings:
    1. Set "Minimum API Level" to "Android 5.0 Lollipop" (or higher).
    2. Verify that the "Build System" is set to "Gradle" (default).
  6. iOS settings: No changes to the Unity player settings are required for iOS.
  7. visionOS settings: No changes to the Unity player settings are required for visionOS.
  8. WebGL settings: No changes to the Unity player settings are required for WebGL.
  9. Universal Windows Platform (UWP) settings:
    1. Set "Build Type" to "XAML Project" (this is required to support webviews).
    2. Disable "Auto Graphics API" and set "Graphics APIs" to "Direct3D11".
    3. If targeting Hololens 2, disable "Graphics Jobs".
    4. In "Publishing Settings", enable the following capabilities: "InternetClient", "SpatialPerception".
  10. Now you can run the example scene in the editor or build and deploy it to your device!

Next steps