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
Unity version
6000.0.80f1 or later
Scripting backend
Mono or IL2CPP
Internet connection
Required at editor time and runtime
Unity 6000.0.80f1 or later is a hard floor — there is no supported configuration on an earlier release, including older LTS versions such as Unity 2022 or Unity 2023. If your project targets an older release, upgrade the project to Unity 6 before installing the SDK. There is no workaround.
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.
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
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.
Create an account at convai.com if you do not have one.
Retrieve your API key from the API Keys section of the Convai dashboard.
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.
Next steps
Once your environment meets all requirements above, install the SDK.
Last updated
Was this helpful?