Skip to main content

Unity Plugin Installation

Add real-time AI video effects to your Unity projects. Daydream Unity Plugin

Requirements

DependencyVersion
Unity6 (6000.x) or later
WebRTC package3.0.0
You’ll also need a Daydream account.
The plugin works with URP, HDRP, and Built-in render pipelines.

Installation

  1. Open Window > Package Manager
  2. Click + > Add package from git URL…
  3. Enter the repository URL:
https://github.com/daydreamlive/daydream-unity.git
  1. Also install the WebRTC package if not already present

Quick Start

Once installed, adding AI effects to your scene takes a few clicks:

1. Add the Component

  1. Select any Camera in your scene
  2. Click Add Component in the Inspector
  3. Search for Daydream and add it

2. Log In

  1. Press Play — a browser window opens for authentication
  2. Sign in with your Daydream account
  3. The plugin automatically receives your credentials
Your login persists between sessions. Credentials are saved to ~/.daydream/credentials and shared across Daydream plugins (Unity, OBS, TouchDesigner).
To use an API key directly, paste it into the API Key field in the Inspector before pressing Play.

3. Configure Your Effect

  1. Enter a prompt describing your desired effect:
    • “anime character, vibrant colors”
    • “oil painting, impressionist style”
    • “cyberpunk, neon lights”
  2. Adjust parameters as needed
  3. Press Play to start the AI processing
The camera output is sent to the Daydream API for AI transformation, and the result is displayed as a fullscreen overlay. A picture-in-picture view shows the original camera feed.

Filter Settings

SettingDescription
PromptText describing the desired visual effect
ModelAI model to use (SDXL Turbo, SD Turbo, etc.)
ResolutionOutput size in pixels (384-1024)
GuidanceHow closely to follow the prompt (0.1-20.0)
ControlNetsPreserve structure from input (depth, edges, etc.)
IP AdapterApply style from a reference image

Demo Scene

Import the Demo Scene sample from the Package Manager for WASD + mouse camera controls and sample geometry for testing.
The demo scene requires the Input System package.

Troubleshooting

Component Not Available

  • Make sure you’re using Unity 6 (6000.x) or later
  • Verify the WebRTC package (3.0.0) is installed
  • The Daydream component can only be added to GameObjects with a Camera

Login Issues

  • Ensure your browser can open new windows
  • Try logging in at daydream.live first
  • Check your firewall isn’t blocking localhost connections

No Video Output

  • Check the Unity Console for [Daydream] log messages
  • Verify your API key is valid
  • Ensure you have a stable internet connection

Next Steps