For the complete documentation index, see llms.txt. This page is also available as Markdown.

Prerequisites

Confirm the Unity version, package dependencies, and Convai account the Convai Unity SDK requires before you begin installation.

Before installing the Convai Unity SDK, confirm that your environment meets the requirements below. Missing any of these causes installation errors or runtime failures that are harder to diagnose after the fact.

System requirements

Requirement
Minimum

Unity version

6000.0.80f1 or later

Scripting backend

Mono or IL2CPP

Internet connection

Required at editor time and runtime

Required Unity packages

The SDK depends on four Unity packages. Both installation methods (Package Manager and Asset Store) install these automatically — you do not need to add them manually unless you encounter a version conflict.

Package
Minimum version

com.unity.ai.inference

2.2.1

com.unity.nuget.newtonsoft-json

3.2.2

com.unity.ugui

2.0.0

com.unity.inputsystem

1.19.0

If your project already pins any of these packages to an older version in Packages/manifest.json, the automatic install fails silently or produces a version conflict. Remove or update the existing version pins before installing the SDK.

Supported render pipelines

Render Pipeline
Supported

Built-in Render Pipeline

✓

Universal Render Pipeline (URP)

✓

High Definition Render Pipeline (HDRP)

✓

For detailed platform and render pipeline compatibility, see Compatibility & Requirements.

Account requirements

You need an active Convai account and an API key to connect your project to Convai during local development.

  1. Create an account at convai.com if you do not have one.

  2. Retrieve your API key from the API Keys section of the Convai dashboard.

  3. Create at least one character in the Convai dashboard and note its Character ID — you need it during scene setup.

Your API key is stored in Assets/Resources/ConvaiSettings.asset. This is the API Key authentication mode, intended for local development in the Unity Editor rather than for a build you distribute. See Configure the API key for full setup steps.

If your project ships to testers or players, the SDK also supports Auth Token mode, which resolves a short-lived credential per connection instead of shipping your account API key in the build. Review the two modes and decide which one your project needs before you reach scene setup.

Authentication

Next steps

Once your environment meets all requirements above, install the SDK.

Install the Convai Unity SDK

Last updated

Was this helpful?