Installation and package issues
Fix Convai Unity SDK import failures, unsupported Unity versions, missing package dependencies, and bootstrapper startup warnings.
Package import and initial configuration problems account for the majority of first-run failures with the Convai Unity SDK. Most produce a clear message in the Unity Console the moment you enter Play Mode — or even before that, as compiler errors. An unsupported Unity version is the single most common root cause and produces no clear message at all, so confirm it first, then work through the Setup Health checks and the remaining first-line checks below.
First-line check
Work through these steps before diving into specific issues. They cover the most common root causes and take under three minutes.
Confirm the Unity version
Open Help → About Unity (Windows) or Unity → About Unity (macOS) and read the exact build number. The Convai Unity SDK requires Unity 6000.0.80f1 or later — this is a hard floor on the exact patch, not a rounded version: an earlier 6000.0 patch such as 6000.0.20f1 is refused, and there is no supported configuration on Unity 2023 or earlier. Every 6000.0 through 6000.5 stream is supported once the editor is at or above the minimum patch.
If the editor is older, upgrade before installing the SDK — the package depends on packages that only exist on Unity 6.
Run the Setup Health checks
Go to Edit → Project Settings → Convai SDK. The Setup Health section opens first and runs a set of project-configuration checks automatically — each item shows a colored status badge, a title, and a message.
The checks include Settings Asset (flags a missing ConvaiSettings.asset), API Key (flags a missing key), iOS Microphone Usage Description (flags an empty Info.plist description), Prepare iOS for Recording (flags the iOS audio session setting used for Convai microphone recording and speaker playback), Android Microphone Permission (informational), and a Define Drift check for each Convai feature-flag scripting define that differs across build target groups.
Select Fix next to any flagged item to apply the automated correction — for example Create adds the missing ConvaiSettings.asset, and Sync All aligns a drifting scripting define across build target groups. Select Refresh in the section header to re-run every check after making changes manually.
If every item shows a healthy (green) badge, the project-level setup is correct and the issue lies elsewhere — continue to the next check below.
Open the Unity Console
Press Ctrl+Shift+C (Windows) or Cmd+Shift+C (Mac) to open the Console. Type Convai in the search box to filter messages.
Look for either of these two exact messages — they appear the moment you press Play:
Convai Bootstrapper: ConvaiSettings not found! Please configure settings via Edit > Project Settings > Convai SDK.→ TheConvaiSettingsasset is missing or was not created. The SDK cannot start.Convai Bootstrapper: API key not configured. Please set your API key in Edit > Project Settings > Convai SDK.→ The settings asset exists but the API key field is empty.
If you see compiler errors instead of these runtime messages, the assembly chain is broken — see Missing or broken assemblies below before entering Play Mode.
Verify the ConvaiSettings asset
In the Project window, navigate to Assets/Resources/. Look for a file named ConvaiSettings.
This asset must exist at the exact path Assets/Resources/ConvaiSettings.asset. The SDK's bootstrapper loads it via Resources.Load at startup. If it is anywhere else — including a subfolder of Resources/ — it will not be found.
If the file is missing, open Edit → Project Settings → Convai SDK. Opening the settings window creates the asset automatically if it does not exist.
Confirm the settings window opens
Go to Edit → Project Settings → Convai SDK. The window opens with six sections: Setup Health, Credentials, Runtime Defaults, Diagnostics, Advanced, and About.
If the window is blank or shows no sections, there is a compiler error in the project. Fix all script errors first — the settings provider only renders when all editor scripts compile cleanly.
If the window opens but the Credentials section shows no API key, select Credentials, paste your key from the Convai developer dashboard, then select Validate & Save.
When everything is configured correctly, pressing Play shows Convai Bootstrapper: Initialization complete. in the Console.
Package requirements
Package name
com.convai.convai-sdk-for-unity
Version
4.6.0
Minimum Unity version
6000.0.80f1 or later
Required dependencies
All four dependencies are pulled in automatically by UPM when you install the Convai SDK package. If any is missing or at the wrong version, assembly compilation fails.
com.unity.ai.inference
2.2.1
Client-side voice activity detection
com.unity.nuget.newtonsoft-json
3.2.2
JSON serialization — required by all SDK communication
com.unity.ugui
2.0.0
UI Toolkit module — required by all UI components
com.unity.inputsystem
1.19.0
New Input System — required by conversation input
To verify installed versions: Window → Package Manager → In Project.
Missing or broken assemblies
Assembly definition errors prevent the project from entering Play Mode. The Console shows errors like The type or namespace name 'X' could not be found before any Convai bootstrapper messages appear.
Newtonsoft.Json missing
Error: The type or namespace name 'Newtonsoft' could not be found
Fix: Open Window → Package Manager. Click + → Add package by name. Enter com.unity.nuget.newtonsoft-json and confirm. Unity installs version 3.2.2 or higher automatically.
Verify: Open the Console. Newtonsoft namespace errors are gone and the project compiles cleanly.
Input System missing
Error: The type or namespace name 'InputSystem' could not be found
Fix: Install com.unity.inputsystem version 1.19.0 or higher via Package Manager. After installation, Unity prompts you to switch to the new Input System backend — accept this prompt.
Verify: Open the Console. InputSystem namespace errors are gone. Accept the backend switch prompt if Unity shows it.
AI Inference missing
Error: The type or namespace name 'InferenceEngine' does not exist in the namespace 'Unity'
Fix: Open Window → Package Manager. Click + → Add package by name. Enter com.unity.ai.inference and confirm. Unity installs version 2.2.1 or higher automatically.
Verify: Open the Console. Unity.InferenceEngine namespace errors are gone and the project compiles cleanly.
XR module missing
Error: The type or namespace name 'XR' does not exist in the namespace 'UnityEngine'
Fix: com.unity.modules.xr is a built-in Unity module rather than a registry package, and the SDK does not list it as a dependency. It ships enabled by default; if a project's Packages/manifest.json explicitly excludes it, remove the exclusion and let Unity reimport. XR push-to-talk input needs it.
Verify: Open the Console. UnityEngine.XR namespace errors are gone and the project compiles cleanly.
Assembly recompile loop
If Unity enters an infinite recompile loop after installing the package, close Unity and delete the Library/ folder, then reopen the project.
Verify: Unity completes asset import without entering another recompile loop.
Troubleshoot installation failures
Unity refuses to open the project, or Package Manager reports an incompatible editor version
Editor is below the Unity 6000.0.80f1 or later floor
Upgrade to Unity 6000.0.80f1 or later or newer — any 6000.0 through 6000.5 build at or above the minimum patch is supported
Help → About Unity reports a build at or above the floor
Setup Health section shows a Warning or Blocked item
A required project setting is missing or has drifted — settings asset, API key, iOS microphone usage description, iOS recording preparation, or a scripting define
Open Edit → Project Settings → Convai SDK → Setup Health and select Fix next to the item, or correct it manually and select Refresh
The item's status badge turns healthy (green)
Convai Bootstrapper: ConvaiSettings not found! in Console
ConvaiSettings.asset missing or deleted
Open Edit → Project Settings → Convai SDK to recreate it automatically
Re-enter Play Mode — Convai Bootstrapper: Initialization complete. appears
API key not configured warning on Play
API key field is empty
Paste key from Convai dashboard into Edit → Project Settings → Convai SDK → Credentials, then select Validate & Save
Re-enter Play Mode — the API key not configured warning is gone
The type or namespace 'Newtonsoft' could not be found
Newtonsoft.Json package missing
Install com.unity.nuget.newtonsoft-json via Package Manager
Project compiles without Newtonsoft namespace errors
The type or namespace 'InputSystem' could not be found
Input System package missing or old version
Install com.unity.inputsystem 1.19.0+
Project compiles without InputSystem namespace errors
The type or namespace name 'InferenceEngine' does not exist in the namespace 'Unity'
com.unity.ai.inference missing or old version
Install com.unity.ai.inference 2.2.1+ via Package Manager
Project compiles without Unity.InferenceEngine namespace errors
The type or namespace name 'XR' does not exist in the namespace 'UnityEngine'
com.unity.modules.xr excluded from Packages/manifest.json
Remove the exclusion in Packages/manifest.json and let Unity reimport
Project compiles without UnityEngine.XR namespace errors
Package not found when adding via UPM name
Scoped registry not configured
Follow the UPM installation guide to add the Convai scoped registry to manifest.json
SDK package appears in Package Manager
Asset Store import fails with conflict errors
Files from a previous SDK version still present
Remove the old Assets/Convai/ folder before reimporting
Package imports without conflict errors
Project Settings → Convai SDK window is blank
Script compilation errors exist
Fix all CS errors in the Console; the settings UI only renders when editor scripts compile cleanly
Edit → Project Settings → Convai SDK displays all six sections
Settings asset exists but window shows no key
Asset is in wrong path
ConvaiSettings.asset must be at exactly Assets/Resources/ConvaiSettings.asset — no subfolders
Edit → Project Settings → Convai SDK → Credentials shows the API Key field
Errors about UGUI or UI/Default shader
com.unity.ugui missing or wrong version
Install com.unity.ugui 2.0.0+ via Package Manager
Project compiles without UGUI shader errors
Sample scene imports correctly but does not run
URP package missing
Sample scenes require URP; install com.unity.render-pipelines.universal and assign the URP asset in Project Settings → Graphics
Sample scene enters Play Mode without errors
Console log reference
These are the exact messages the SDK bootstrapper emits during initialization. They fire via [RuntimeInitializeOnLoadMethod(BeforeSceneLoad)] — before your Awake methods run.
Convai Bootstrapper: Initializing...
Info
SDK initialization has started
Convai Bootstrapper: ConvaiSettings not found! Please configure settings via Edit > Project Settings > Convai SDK.
Error
ConvaiSettings.asset not found at Assets/Resources/ConvaiSettings.asset
Convai Bootstrapper: API key not configured. Please set your API key in Edit > Project Settings > Convai SDK.
Warning
Settings asset found but API key field is empty
Convai Bootstrapper: Initialization complete.
Info
All settings loaded successfully; SDK is ready
Next steps
Once the SDK initializes cleanly and the bootstrapper logs Convai Bootstrapper: Initialization complete., the next issue category to check is connection and API key validation.
Last updated
Was this helpful?