Import and run sample scenes
Import the bundled sample scenes and verify the SDK is installed and connected correctly before building your own scene.
The Convai SDK for Unity ships with three sample scenes. Running one is the fastest way to confirm your installation, API key, and audio setup are working before you build your own scene.
Basic Sample
Core setup and interaction flow with Convai_Char_Robot, a non-humanoid character
LipSync Sample
High-quality character Sofia with real-time lip sync, plus a debug hub for inspecting emotion, dynamic context, and vision state during Play mode
Multi-Character Sample
A shared-room sample demonstrating multiple Convai characters, interaction targeting, transcript UI, and runtime roster changes
The steps for locating the samples differ depending on how you installed the SDK.
Once the scene is open:
Enter Play Mode
Press Play. The Unity Console logs the following lines as the SDK initializes:
[ConvaiRuntime] Started successfully— SDK initialized all internal services[RoomConnectionRuntimeAdapter] Room connection succeeded (mode=create).— the room connected to Convai
Speak into your microphone. The character responds with voice and text output.
If no response appears and the Console shows warnings, check Validate your setup for a diagnostic checklist.
In the LipSync Sample, the Sample Debug Hub panel is already in the scene. Click its Emotion, Context, or Vision buttons in the Game view to open a drawer showing live state while the character talks.
Sample render pipeline notes
Sample scenes are built with the Universal Render Pipeline (URP). If your project uses a different render pipeline, materials may appear pink after import. Convert the materials to match your active render pipeline using Edit > Rendering > Materials, then select the appropriate conversion option for your pipeline.
Next steps
Now that you have confirmed the SDK is working, learn what each scene component does before building your own setup.
Last updated
Was this helpful?