Installation and Setup
Learn how to install, set up, and run the Convai Unity Plugin Beta to integrate conversational AI characters directly within your Unity projects.
Introduction
The Convai Unity Plugin (Beta) allows you to seamlessly integrate Convai’s advanced conversational AI characters into your Unity projects. This plugin simplifies setup and provides a ready-to-run demo scene so you can start interacting with Convai-powered characters immediately.
Installation Guide
Follow these steps to install and configure the Convai Unity Plugin Beta.
1. Download the Plugin
Download the ZIP file provided below.
Beta Notice
This package is an introductory Beta release designed to provide a ready-to-use MR-compatible example, including the required Meta packages. Please note that LipSync is not supported in this version. Additional features, including full LipSync support, will be introduced in upcoming releases.
2. Extract the Package
Unzip the downloaded .zip file to your preferred location on your computer.
3. Create a New Unity Project
Open Unity Hub.
Click New Project.
Select your preferred Unity version (Unity 6 or later is recommended).
Choose the Universal 3D template.
Name your project and click Create Project.
Unity will now create and open your new project.
4. Import the Convai Plugin Package
Once your project is open, navigate to the top menu and select Assets → Import Package → Custom Package.
In the file dialog, locate and select the Convai Unity Package you extracted from the
.zipfile.Click Import to add the Convai Plugin to your project.
After the import completes, the Convai Plugin will be ready to configure within Unity.
Next, open the Project Setup Tool that appears automatically.
Select both PC and Meta Quest platforms, and click Fix All for each platform to ensure proper configuration.
Project Setup
Setting Up Your API Key
Go to the Top Menu → Convai.
Select Account from the dropdown.
In the API Key field, paste your Convai API key (you can copy it from your Convai Dashboard).
Opening the Sample Scene
To explore the Convai sample setup:
Navigate to:
Assets/Convai/Demo/Scenes/Convai Sample Scene.unityOpen the scene.
In the Top Menu, go to Window → TextMeshPro → Import TMP Essential Resources to enable text rendering.
Once imported, add your Character Name and ID:
In the Hierarchy, select the
ConvaiNPCGameObject.In the Inspector, find the ConvaiNPC component.
Enter your Character Name in the Character Name field.
Paste your Character ID in the Character ID field.
Preparing for Build
Go to File → Build Profiles.
In the Scene List, right-click the default Sample Scene and remove it.
Click Add Open Scenes to include the Convai Sample Scene instead.
Under Profiles, select Meta Quest and click Switch Platform in the bottom-right corner.
From the top menu, go to Meta XR Tools → Project Setup Tool.
In the opened window, click Fix All for both PC and Meta Quest.
Return to the Build Profiles window.
If a device is selected under Run Device, click Build and Run to deploy directly to your headset.
If no device is selected, click Build to generate the build manually.
Conclusion
You have now completed the setup of the Convai Unity Plugin (Beta) and prepared your project for MR-ready development. From this point forward, you can begin tailoring the sample scene, integrating your own Convai characters, and extending the plugin’s capabilities to fit your project’s interaction, gameplay, or AI-driven design needs.
As new features, improvements, and LipSync support arrive in upcoming releases, you will be able to enhance your experience even further and build more immersive, intelligent, and voice-driven Unity applications.
Last updated
Was this helpful?