Hello! I have encountered an undesired behavior when I tried to use Local Array of Wildcards node in a blueprint macro.
What I was trying to achieve, I have a “function” in some blueprint that has local array of actors, that is simply initialized to be empty, then filled based on some matching criteria.
Now I wanted to use same functionality in different blueprints, so I thought I might just change it into a blueprint macro using Local Array node replacing the absence of local variables in macros.
What happens here is that, Im trying to assign an array of actors into the “Local Array of Wildcards” node, so its type could be determined, but everytime I try to use it, i get compilation error:
“The type of Variable generated from expanding Get All Sensor Targets is undetermined. Connect something to Local Array of Wildcards generated from expanding Get All Sensor Targets to imply a specific type.”
(GetAllSensorTargets is the name of the macro im trying to create)
Is this a bug? Am I doing something wrong? Attached a screenshot of the nodes within my macro.