Original Discord Post by leean1 | 2024-10-14 17:04:14
I was following the video https://www.youtube.com/watch?v=wmhoNXUhc1U&t=901s&ab_channel=Convai
And was trying to get my Convai character to move to a specific spot using Narrative Design. However, when the character attempts to move to that location. The character just walks in place and I get the following errors.
Error][Character]: Convai Action Settings missing. Please create a game object that handles actions.
[Stack Trace - Method: Awake, at Line: 50 in File: C:\Users\Water_Treatment_Plant\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:50)
and
“GetRemainingDistance” can only be called on an active agent that has been placed on a NavMesh.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Convai.Scripts.Runtime.Features.ConvaiActionsHandler/d__34:MoveNext () (at Assets/Convai/Scripts/Runtime/Features/Actions/ConvaiActionsHandler.cs:611)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
but my character has the Actions Handler and Nav Mesh component.
Embedded Content: AI-powered Onboarding Character for Digital Twin Environments | Co…
This Unity tutorial shows you how to add a Convai-powered Tour Guide character for your 3D virtual environments. Convai’s Narrative Design Feature lets creators add spatial anchors in the 3D environment which guides the 3D AI character to navigate the world while following step-by-step instructions. The character follows instruction prompts comb…
Link: https://www.youtube.com/watch?v=wmhoNXUhc1U&start=901
Embedded Content: Adding Actions to your Character | Documentation
Follow these instructions to enable actions for your Convai-powered characters.
Link: Adding Actions to your Character | Documentation
In the video they made some changes to the ActionsHandler script. Should I have made those changes too? They also defaulted the NavMesh agent to be inactive.
Reply by leean1 | 2024-10-14 17:26:22
In the video they made some changes to the ActionsHandler script. Should I have made those changes too? They also defaulted the NavMesh agent to be inactive.
Reply by k3kalinix | 2024-10-14 17:27:56
Some of them were specific to the demo. It is up to you.
Can you clarify on this set of instructions? Link this Move Target Indicator to your NPC’s action script so it updates dynamically when you point the cursor to the ground and ask the NPC to move to “There”.