Scene metadata quick start
Tag a world actor with the Convai Object Component, assign its name and description, and confirm a Convai character can reference it in conversation.
Attach a UConvaiObjectComponent to a world Actor, give it a name and description, and test whether a Convai character can use that object as scene context during conversation.
Prerequisites
The Convai Unreal Engine plugin installed and the API key configured.
A
UConvaiChatbotComponentand aUConvaiPlayerComponentin the level, with a valid Character ID and a working microphone. See Add your first Convai character if you have not completed that setup.
Expose an actor and verify recognition
Set the object name and description
With the Convai Object Component selected, set the object identity fields in the Details panel:
Name— a short, unique label, for exampleFrontDoor.Description— a plain sentence about the object, for exampleA large wooden door at the main entrance.
Names must be unique in the level. See Scene metadata component reference for details on duplicate handling and the full field list.
Enter Play mode and ask the character
Press Play. Walk up to the Convai character and ask: "What do you know about the door?" or "Describe the objects near you." The character should mention the name and description you set.
If the character does not reference the object, open the Output Log and filter by ConvaiSubsystemLog for registration warnings or ConvaiObjectComponentLog for component warnings. See Troubleshoot scene metadata for a full list of symptoms.
Add a tracked property (optional)
To give the character awareness of live game state, expand Tracked Properties in the Details panel and click + to add a row. Click Bind next to Property Path and select a UPROPERTY from the Actor. Set a plain-language Description and choose a ShouldRespond value.
For the full tracked property workflow, see Scene metadata component reference — Tracked properties.
Next steps
Scene metadata component referenceManaging the environment at runtimeTroubleshoot scene metadataLast updated
Was this helpful?