[BUG] Set Enabled modifying wrong component on agent.

NodeCanvas Forums Support [BUG] Set Enabled modifying wrong component on agent.


Viewing 1 post (of 1 total)
  • Author
  • #15884

    NodeCanvas v3.21
    Unity 2019.4.30f1
    Project Template: URP

    Steps to reproduce:

    1. Create new project and import NodeCanvas.
    2. Add capsule to default scene and add NavMeshAgent to it.
    3. Create monobehaviour script and add it to the capsule.
    4. Create FSM on capsule and add bound graph.
    5. Add your custom monobehaviour as a new type.
    6. Add the navmeshagent and the custom monobehaviour to the blackboard
    7. Create a new action state and add the “set enable” action.
    8. Select the navmeshagent as the monobehaviour to use.
    9. Select disable from the “set to” parameter on the action.
    10. Click the play button and observe which component is disabled on the capsule.

    Error: It appears that the component below the navmeshagent is disabled.
    Expected: The navmeshagent should be disabled.

    Found this in my project and I was able to reproduce in clean project.

    Workaround: I created a custom action to disable/enable the navmeshagent.

    Please let me know if you have any questions or are unable to reproduce.



    You must be logged in to view attached files.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.