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!
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.
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
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.