Migration Guide
Convai Plugin 3.3.4 to 4.0.0
This guide explains how to migrate a Unity project from the old Convai SDK to the latest Convai SDK.
Important: Back Up Your Project
Before you begin, create a full backup of your Unity project to avoid accidental data loss.
Remove the old Convai SDK
Open your Unity project.
In the Project window, go to
Assets.Locate the
Convaifolder from the old SDK.Delete the entire folder.
After removal, Unity may show compile errors until all references are migrated.
Install the latest Convai SDK
Install the newest SDK using one of the following:
Option A: Unity Asset Store
Open Unity Asset Store.
Search for
Convai SDK.Download and import the latest package.
Option B: Plugin Manager
Open Plugin Manager.
Install the latest Convai plugin.
Set up API key
Open the Convai Account window in Unity
In the Unity top menu, go to Convai → Account.

Copy your API Key from Convai
Open Convai in your browser and sign in.
Locate your API Key in the dashboard/profile settings.
Copy the API key.

Paste and update the key in Unity
Paste the key into the API Key field.
Click Update API Key.
Expected result: Account details and usage information refresh successfully.

Update scene setup
Update these key objects in your scene:
Replace Convai Essentials with ConvaiDefaults
Remove
ConvaiDefaultsfrom the scene.Add
ConvaiDefaultsFrom "Convai SDK For Unity/Prefabs/Setup"
You can add it by either:
Drag the
ConvaiDefaultsprefab from the Prefabs/Setup folder into the scene.Searching for
ConvaiDefaultsin the Project window and adding it manually.

Replace ConvaiNPC with ConvaiCharacter
Select each NPC character object.
Remove missing/legacy Convai components (if any).
Add the
Convai Charactercomponent.

Audio setup
After adding
ConvaiCharacter, use the setup button shown in the inspector.This will automatically add/configure an
Audio Sourcecomponent.
Lip Sync setup (optional)
If your character is humanoid and uses facial lip movement:
Select the character object.
Add the
Convai Lip Synccomponent.Configure visemes/blendshapes according to your avatar setup.
You can explore more about adding Lip Sync Here
Last updated
Was this helpful?