AgentType incorrectly erroring

Forums 💬 NodeCanvas ⚙️ Support AgentType incorrectly erroring

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19644
    grofit
    Participant

      I have a simple action like below:

      Then I have a variable on the blackboard which is a gameobject and is linked from within the scene. However when it evaluates the code I can see the Position.value has been generated correctly however I get an exception like so:

      <b>Task Init:</b> Failed to change Agent to type 'UnityEngine.Transform', for Task 'Get Position' or new Agent is NULL. Does the Agent has that Component?

      #19645
      Gavalakis
      Keymaster

        Hey,

        I tried all sort of means to reproducing that error with the current task and I didnt manage that. How did you? 🙂
        Can you please send me a project, that reproduces that?

        By the way you can use “Script Control/Get Property” task to get the position of the agent.

        Thanks

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.