Say I dynamically spawn actors into a level.
I grab their dynamic names into an array to use as references.
I now want to refer to their components (for each unique instance of the spawned actor) - the components are embedded static meshes which help determine which side of the actor is facing up.
When I grab the component names (by tag) into another array I find that all the component names are the same - for each instance of spawned actor.
Eg say I dynamically spawn an actor - it spawns as name10 and name101 if I spawn 2 of them.
But their components are the same when I grab them into an array - say the component was called “max” - i expect to see a max10 and a max101 - but i only see the component from the actor blueprint “max” - not the spawned instance.
How do I get a unique reference to each spawned instance components?