NPC Logic

Convai
Listed for conversational game characters; current runtime and plan details need confirmation
- Unity Asset Store (Unity plugin) rating
- Pricing
- Free
- US$0
- Indie Dev
- US$29/month or US$22/month billed annually
- Professional
- US$99/month or US$69/month billed annually
- Enterprise
- Custom quote
- Best for
- Game developers testing conversational NPCs
Video tutorial
Convai Product Overview: NPC Conversation · Convai · Watch on YouTube ↗
What is Convai?
Convai is listed for adding conversational behavior to game characters. A useful pilot covers dialogue, scene integration, and how a character behaves outside its main task.
Convai’s strongest test is inside your actual target scene. A fluent demo does not prove that the game character sees the right objects, stays in its role, or triggers only appropriate effects. Decide what facts and actions you expect the character to use before adding more complexity.
Set up and test a real workflow
Choose one supported integration and write down the game action the character may request, the source of truth for the action, and what the player hears when the action fails. For a first test use an isolated level and a single mock inventory action. Log the intent and the game-state check so a plausible character response cannot hide an invalid transition.
What to look for in the result
In a warehouse tutorial the player asks for a wrench before completing a safety briefing, after completing it, and again after receiving the wrench. Your log should show blocked, granted, then already held. Check that the inventory count changes only once and that the spoken line never claims a successful handoff when the game rejected it.
| Problem | What to check | What to change |
|---|---|---|
| The NPC sounds confident about a game state it cannot change | Compare the transcript with the game-side event and state reports | Compose the final line using the validated outcome |
| An item is granted twice | Check whether the same intent is processed on both request and completion | Record a transaction ID and validate inventory before changing it |
Try it: Test dialogue in a small game scene
Check current SDK support for your engine, then set up a single character with a short backstory and a clear quest objective.
Put a shopkeeper in a test scene with items A and B only. Ask about B, then request an unavailable item, then replay after reloading the level.
- Use the supported integration for a test project and set one character objective. Put just two relevant items in the scene and identify each one unambiguously.
- Ask about one item directly, then use a casual paraphrase. Ask about an object that is not present and see whether the answer reflects the scene. Keep unnecessary actions disconnected during this first pass.
- Reload the level or repeat in a clean session. Confirm stored dialogue state behaves as designed and inspect any actions the character attempted before expanding access.
What a usable result looks like
The character refers to the two available items, gives an appropriate response to the unknown item, and resets as designed on reload.
| Check | What you might see | What to do next |
|---|---|---|
| Known item | The shopper asks for B and the character reacts using the item actually in the scene. | Check the game state alongside the dialogue to verify that the promised action happened. |
| Unavailable item | The character cannot grant a missing item. | Provide a fallback line and confirm the missing item is still absent from the inventory. |
| Reload | The new scene starts with the intended initial stock. | Repeat the conversation after a reload and distinguish carried-over dialogue from persistent game state. |
What to save from the trial
A recorded NPC dialogue test with two present objects, one unavailable object, and the expected state after reload.
Another scenario
A quest guide can help a player find the next interaction even when the player phrases the question in several ways. Test a route question, a wrong-location question, and an attempt to skip the objective. Check game state in addition to dialogue quality.
Use cases and what to check
| Use case | How to try it | What to check |
|---|---|---|
| Scene conversation | Give an NPC a small set of allowed facts and a specific objective. | Check that responses stay within the scene and role. |
| Integration check | Run one scene on your target engine build. | Check setup requirements and recovery after a restart or reconnect. |
Which plan should you try?
| Plan | Price | Who should consider it |
|---|---|---|
| Free | US$0 | Compare the interaction quota with the requests in one test scene |
| Indie Dev | US$29/month or US$22/month billed annually | Check simultaneous characters and cloud-rendering limits |
| Professional | US$99/month or US$69/month billed annually | Compare interaction and concurrency allowances for a larger trial |
| Enterprise | Custom quote | Confirm deployment, support and SLA terms |
Verify the current SDK support, runtime terms, and conversation allowances before estimating the cost of gameplay sessions.
Provider pricing and access ↗ · Checked
What people say about Convai
1 featured user review.
Custom knowledge
Used characters with a knowledge base to answer student questions and wanted more flexibility in choosing a voice.
5/5 · October 22, 2024 · G2 ↗ · Paraphrased
Limits to check
A good NPC conversation can still contain unavailable facts or trigger the wrong action. Check consequences in the game state separately from the dialogue.
When to choose it
Try Convai for dynamic in-engine character interactions where the project can validate their effects. A scripted behavior system is easier to tune if your character needs only a few predetermined responses. Test actual build compatibility and confirm the deployment terms you need before committing.
- Inworld AI · AI character and voice infrastructure; current product and usage scope must be checked
- NVIDIA ACE · A suite of character, speech and animation components with component-specific terms
- Latitude / AI Dungeon · Consumer interactive storytelling; developer API availability unconfirmed
Common questions
- How do I check that a character understands a scene?
- Use two known objects and one absent object. Ask different phrasings about each and compare the dialogue to the actual scene state. Check what the character can see under the exact integration you configured.
- Should a generated reply directly update a quest?
- Keep important state changes behind the game’s own rules. Inspect the attempted action separately from the text so a plausible reply cannot quietly skip an objective or update the wrong variable.
Community posts
-
When Unity actions work manually but never fire in conversation ↗
A developer compares manual triggers with dialogue-driven actions and documents which settings they checked.
Convai Developer Forum