# FindSmartObjectTask on a State Tree does not find SmartObject 

**URL:** <https://forums.unrealengine.com/t/findsmartobjecttask-on-a-state-tree-does-not-find-smartobject/2616943>\
**Category:** AI\
**Tags:** unreal-engine, editor, Blueprint, question, CPP\
**Created:** [July 24, 2025, 2:19pm UTC](https://forums.unrealengine.com/t/findsmartobjecttask-on-a-state-tree-does-not-find-smartobject/2616943 "2025-07-24T14:19:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheSlimster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSlimster](https://forums.unrealengine.com/u/TheSlimster)\
**Post date:** [July 24, 2025, 2:19pm UTC](https://forums.unrealengine.com/t/findsmartobjecttask-on-a-state-tree-does-not-find-smartobject/2616943/1 "2025-07-24T14:19:45Z")

</div>

Hello, I have a question about Mass, State Trees, and Smart Objects.

So currently, I have a setup where my Mass Entity Spawner is spawning actors. The actors have been configured in the Entity Config to use a State Tree as their behaviour. In the State Tree, there is a FindSmartObjectTask.

When I set up a level with a single SmartObject and try this, it does not find the SmartObject.

I put a breakpoint in USmartObjectSubsystem::FindSmartObjects and that breakpoint never gets hit, so for some reason we never even execute that code, although I have confirmed that we are entering the node that executes this task.

Here is the setup of my State Tree. Any help would be appreciated. Thank you!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/3/593d40464c63f4b90e72430f91d4bb404218c0dd.png)

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [July 24, 2025, 7:45pm UTC](https://forums.unrealengine.com/t/findsmartobjecttask-on-a-state-tree-does-not-find-smartobject/2616943/2 "2025-07-24T19:45:41Z")

</div>

its been a while since last I look at SO but afaik  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/c/77ca47f53ee0d547efc36e770823c34f04698fb5.png)  
this could be the culprit 🙂

---

<div class="post-metadata">

**Author:** ![TheSlimster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSlimster](https://forums.unrealengine.com/u/TheSlimster)\
**Post date:** [July 25, 2025, 8:15am UTC](https://forums.unrealengine.com/t/findsmartobjecttask-on-a-state-tree-does-not-find-smartobject/2616943/3 "2025-07-25T08:15:19Z")

</div>

So, what I understood was that if you do not include any Tags, it will search for all possible SOs. I have also tried to add the appropriate Tag in there, using both All Tags Match and Any Tags Match, and none of them worked too.

---

<div class="post-metadata">

**Author:** ![ZyLogic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZyLogic](https://forums.unrealengine.com/u/ZyLogic)\
**Post date:** [August 5, 2025, 9:02pm UTC](https://forums.unrealengine.com/t/findsmartobjecttask-on-a-state-tree-does-not-find-smartobject/2616943/4 "2025-08-05T21:02:36Z")

</div>

I am running into the same issue.

There is a working example from [GitHub - Ji-Rath/MassAIExample: A project primarily used to test UE5 Mass AI system](https://github.com/Ji-Rath/MassAIExample/) that I am currently comparing against, but I have yet to discover what the culprit it.

If I find anything, I will post an update here!

---

<div class="post-metadata">

**Author:** ![James.Keeling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James.Keeling](https://forums.unrealengine.com/u/James.Keeling)\
**Post date:** [August 19, 2026, 1:05pm UTC](https://forums.unrealengine.com/t/findsmartobjecttask-on-a-state-tree-does-not-find-smartobject/2616943/5 "2026-08-19T13:05:20Z")

</div>

I stumbled across this post and realize that I am quite late to the party. Have you set up ZoneGraph annotations for your Smart Objects? It is a necessary step when using the ZG variants of the Smart Object tasks in MassStateTree, but it is certainly one we do not broadcast as being necessary nearly well enough. I do have a small article about setting it up for the first time which is on the Epic Dev Community here: [Configuring ZoneGraph to Work with Smart Objects](https://dev.epicgames.com/community/learning/knowledge-base/VprR/unreal-engine-configuring-zonegraph-to-work-with-mass-smart-objects)

If that does not fix it, I would love if you could share out some more details with me about where the failings are occurring.

-James
