Ai behavior tree task, target location is invalid

Hey all. I’ve began work on my ai cause I wanna start making ti so my buildings will build from the ai but I’m running into an issue where my target location is appearing invalid.

Basically I spawn the ai with a button then place a building that needs constructed, they run to the entrance and begin construction. The target location keeps showing up invalid and the behavior tree won’t even execute the command.

Any help appreciated

Here’s my code

i’m going to guess that your building is obstructing the navmesh and your AI is never able to reach it for that reason.

You should make the Ai go to a location near the building, and then directly towards it once it’s close enough and has clear line of sight.

I’ve run into this myself before :slight_smile: