Error message when task ends in failure?

NodeCanvas Forums Support Error message when task ends in failure?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13524
    meatloaf
    Participant

    Just wanted to confirm that when a task ends in failure there is currently no debug message printed. It looks like the only thing that occurs is that the state shows a red x and is outlined in red.

    Is there anyway we could possibly get more of an indication as to which task was the one that failed?

    Thanks in advance!

    #13525
    meatloaf
    Participant

    Also another thing I just noticed is that the SuperActionState seems to display a visual success even if a task returns a fail action, is this by design?

    #13534
    Gavalakis
    Keymaster

    Hey,

    There is indeed not log displayed for when a task ends in failure, since that can be a common thing to happen and in the context of behaviour trees is also a by user design choice. Thus in those cases, the log would only spam the console and be nothing informative 🙂
    Thus, the visual debugging on the nodes, is what should display task success or failure. Speaking of which, the SuperActionState displaying success even though the action failed, is indeed a bug 🙂
    Here is an updated code for the SuperActionState.OnUpdate method:

    Let me know.
    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

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