Patrol Location Vector Invalid

Okay so,long story short im making a behaviour tree for an enemy but it never goes in patrol; i doubt is a nav mesh problem cause in chase and attack he calmly steps upon the said nav mesh. But it doesn’t even consider the patrol sequence at all. When i debug it,it says that the vector (Patrol Location) is invalid,but i connected the key to the keyboard value and the radius is enough,i even tried reducing the ai sight sense,but the invalid vector problem stays,someone has any idea on how i could fix it?



Did you ever find a fix for this? Your Patrol graph and mine are pretty much exactly the same and I’m running into the same issue.

I appreciate that I’m pretty late to the party here, but I was just going through the Unreal Behaviour Tree Quickstart and hit the same issue. Figured I’d post my solution in case someone else comes along.

It seemed to relate to the Patrol Location key not really being anything meaningful. This was the only place a Blackboard Key Structure was used. My solution was to get the Blackboard from the controller and set it like it’s done elsewhere in the tutorial, using Set Value As Vector:

Perhaps there’s a step I missed with the structure…
Hope this helps!