StateTree Move To Location or Actor never finishing

I can’t seam to get StateTree to report that a task is finished when telling the AI to move. The movement is working fine, but it’s as if Finish Task just does nothing. Below is the task. It’s quite simple.

Even an empty task that calls Finish Task just does… nothing. It won’t trigger the On State Succeeded transition.

Anyone have any idea why this isn’t working?

1 Like

Does anyone have any suggestions? I’ve confirmed the Finish Task nodes are being called correctly, but the transitions for State Success or State Failed never happen. Is there something else I need to be doing to transition out of a state on task success?

That’s the task. Below is the StateTree.

It’s pretty barebones simple example of move to player otherwise wait 1 second then move to player again.

I’ve confirmed my task is of course working, but the problem is Transitions just flat out don’t work at all.

Next test I tried adding a transition on Tick to check if a boolean from the Move task was True. Still doesn’t transition. Boolean is reporting as true in debug. Was StateTree ever even tested? What is going on here? I’ve followed what little documentation there is. This feature just… doesn’t work.

I think maybe this just still isn’t production ready? Has anyone had any success with this?

Success! Found the cause. Tick was turned off on my StateTree component for some reason. Turning it back on resolves transition issues entirely. So there you have it. Be sure you didn’t turn tick off for the StateTree component!

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