MassAI, Zonegraph and SmartObjects problems. "Find SO" task doesnt work...

Hello! I hope someone can help me because I’ve run out of things to try. I have a pedestrian system set up with MassAI using zone graphs. Now, I’m trying to get my pedestrians to interact with objects (smart objects).

Well, right now I’m just trying to get them to find the objects. For that, I’ve created a StateTree where I have the “Find Smart Objects” task, but it always fails. Interestingly, it only fails if I use the ZoneGraph traits in the entity’s DataAsset. Therefore, I deduce that something is happening with the zone graph and the search for smart objects.

I’ve tried absolutely everything I can think of, read hundreds of posts, watched videos, and still can’t find the issue. I’ve added the tags for the smart objects, and in fact, they appear as active in the DebugVisualizer, but for some reason, the entities can’t find them.

Any ideas on where to go from here?

This is mi StateTree:

And this the Entity DA:

As you can see there are 5 SmartObjects in the world:

Have you tried looking at the output of the StateTree Debugger when running this in PIE? From your StateTree image, it appears that the tree will fail as it cannot find a valid leaf state to enter from the condition. On the first run of the tree, the global task may not have the data ready for when the condition is checked. StateTree does not run the corresponding task to the output being used when evaluating the condition. It is looking for output to already be present. If you add a leaf state to idle in your tree and transition when a candidate is found or after a delay, does the tree move to the Smart Object slot that was claimed?

-James