Tree starts with success state

SOSolacex

Member
Hey.
I've got this tree attached to an a* pathfinding agent and for some reason it starts in a success state and doesn't repeat, until I manually turn off and on the component during playtime. I am not sure what is causing this issue. using 2020.3.4f1

Screenshot_62.png
 
The tree. It for some reason started in a state where the tasks are successful for some reason, causing the tree to not run at all. Either way, it must have been a bug, it eventually fixed itself. I didn't make any changes related to the tree but it works now.
 
And the issue is back. Screenshot_63.png

Even though it's on "repeat forever", the tree just starts like this and sees itself as finished, until I manually deactivate and reactivate the behavior tree component. (once I manually disable/enable, it will actually repeat)
 
Last edited:
In cases like that generally it's caused by an exception in one of your tasks or some other script which is preventing the tree from traversing. Wander also will never return success so it looks like something else is causing the issue.
 
Top