NPC doesn't move to next location after dialogue (Convai MoveTo issue)

Hi team! I’m currently working on a VR project using the Convai Unity SDK, and I’m trying to set up an AI NPC that moves to specific locations after completing certain dialogue sections. I followed the tutorial “AI-powered Onboarding Character for Digital Twin Environments” and used the Tour.MoveTo() method with triggers correctly set in the Inspector.

However, while the logs show that the NPC starts the section (see screenshots), and the narrative design flow is correctly mapped in the Convai web interface, the NPC doesn’t actually move to the target location. Instead, the console shows:

[Debug][Actions]: MoveTo target is null or inactive.

Here’s what I’ve done:

  • The NPC has a NavMeshAgent and a Tour script (TourGuide - move to foundtion script) attached.
  • Each “go to building” node in the Convai narrative graph corresponds to a Section ID with matching triggers
  • In Unity, I’ve added Tour.MoveTo() under “On Section Start,” and assigned the correct target GameObject with a Trigger script.
  • The sections “do” start as expected (confirmed via debug logs).
  • The GameObject I want the NPC to move to is active in the scene.

the attach are the screen shot for narrative design, unity setup and unity console.





Thanks!

Here‘s the narrative design flowchart

Hello @2413967556,

Could you please provide warnings and error logs?

Here’s the provide warnings and error logs:
[Error][Character]: Convai Action Settings missing. Please create a game object that handles actions.
[Stack Trace - Method: Awake, at Line: 51 in File: C:\unity\Rebirth\Assets\Convai\Scripts\Runtime\Features\Actions\ConvaiActionsHandler.cs]
UnityEngine.Debug:LogError (object)
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:LogMessage (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogLevel,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:93)
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:Error (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:140)
Convai.Scripts.Runtime.Features.ConvaiActionsHandler:Awake () (at Assets/Convai/Scripts/Runtime/Features/Actions/ConvaiActionsHandler.cs:51)

[Warning][Character]: No target object set for head tracking. Setting default target as main camera
[Stack Trace - Method: InitializeTargetObject, at Line: 151 in File: C:\unity\Rebirth\Assets\Convai\Scripts\Runtime\Core\ConvaiHeadTracking.cs]
UnityEngine.Debug:LogWarning (object)
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:LogMessage (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogLevel,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:90)
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:Warn (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:135)
Convai.Scripts.Runtime.Core.ConvaiHeadTracking:InitializeTargetObject () (at Assets/Convai/Scripts/Runtime/Core/ConvaiHeadTracking.cs:151)
Convai.Scripts.Runtime.Core.ConvaiHeadTracking:InitializeComponents () (at Assets/Convai/Scripts/Runtime/Core/ConvaiHeadTracking.cs:86)
Convai.Scripts.Runtime.Core.ConvaiHeadTracking:Start () (at Assets/Convai/Scripts/Runtime/Core/ConvaiHeadTracking.cs:64)

The error is clear.

[Error][Character]: Convai Action Settings missing. Please create a game object that handles actions.

but I already add ConvaiActionsHandler on NPC. What is that mean “create a game object that handles actions”. Should I embed the script to a new game object?

Adding the Convai Interactables Data Script

Create an empty GameObject and name it “Convai Interactables.”

Attach the Convai Interactables Data script to this GameObject.

Add characters and objects to the script by clicking the “+” button and attaching the corresponding GameObjects.

Documentation: Adding Actions to your Character | Documentation

Make sure to use a different empty object for the MoveTo object. Not Trigger objects.

I baked the path and added a new moveTo object, but the NPC remained stagnant. The NPC was marching in place. He made the gesture of walking but didn’t move.

Could you please show me the NavMeshSurface component?