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

**URL:** https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867
**Category:** Unity SDK
**Tags:** question, narrative-design, unity
**Created:** [May 8, 2025, 5:48pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867 "2025-05-08T17:48:00Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![2413967556](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/2413967556/32/3838_2.png) [@2413967556](https://forum.convai.com/u/2413967556)
#### Post date: [May 8, 2025, 5:48pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/1 "2025-05-08T17:48:00Z")

</div>

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.

 ![1](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/5/584976636bbfb3835e656a569e4224d24d51fadb.png)  
 ![2](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/f/ff5cc691bf05b07473560d486920e254eb8e1c03.png)  
 ![3](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/0/0643595dd54d1719da8690bbcd62d3198e67bc41.png)  
 ![issue1](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/e/ea89f63c9820b04738285a512afa8e7675eb3dc6.png)  
 ![issue 2](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/e/e2d91320b68964688cbdd0d642ce1ebd9ea99bac.png)

Thanks！

---

<div class="post-metadata">

### Author: ![2413967556](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/2413967556/32/3838_2.png) [@2413967556](https://forum.convai.com/u/2413967556)
#### Post date: [May 8, 2025, 5:48pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/2 "2025-05-08T17:48:44Z")

</div>

Here‘s the narrative design flowchart

 ![flowchart](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/8/8a35dce224d0eef15c46e7d395dbfb79789f3a20.png)

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [May 8, 2025, 6:16pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/3 "2025-05-08T18:16:17Z")

</div>

Hello @2413967556,

Could you please provide warnings and error logs?

---

<div class="post-metadata">

### Author: ![2413967556](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/2413967556/32/3838_2.png) [@2413967556](https://forum.convai.com/u/2413967556)
#### Post date: [May 8, 2025, 11:17pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/4 "2025-05-08T23:17:56Z")

</div>

> [@K3](#):
>
> 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)

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [May 8, 2025, 11:31pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/5 "2025-05-08T23:31:58Z")

</div>

The error is clear.

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

---

<div class="post-metadata">

### Author: ![2413967556](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/2413967556/32/3838_2.png) [@2413967556](https://forum.convai.com/u/2413967556)
#### Post date: [May 8, 2025, 11:41pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/6 "2025-05-08T23:41:42Z")

</div>

> [@K3](#):
>
> [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?

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [May 8, 2025, 11:44pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/7 "2025-05-08T23:44:19Z")

</div>

**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](https://docs.convai.com/api-docs/plugins-and-integrations/unity-plugin/adding-actions-to-your-character)

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [May 9, 2025, 12:10am UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/8 "2025-05-09T00:10:14Z")

</div>

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

---

<div class="post-metadata">

### Author: ![2413967556](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/2413967556/32/3838_2.png) [@2413967556](https://forum.convai.com/u/2413967556)
#### Post date: [May 9, 2025, 2:47pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/9 "2025-05-09T14:47:48Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)
#### Post date: [May 9, 2025, 5:58pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/10 "2025-05-09T17:58:57Z")

</div>

Could you please show me the NavMeshSurface component?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/e60ef96aa7334c5ccf6682f6c6dbc20fcfa96b49.png) [@system](https://forum.convai.com/u/system)
#### Post date: [September 3, 2025, 12:36pm UTC](https://forum.convai.com/t/npc-doesnt-move-to-next-location-after-dialogue-convai-moveto-issue/3867/11 "2025-09-03T12:36:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
