Need help debugging

I literally just explained this to another person. You cannot assign a new component to a local variable. It needs to be assigned to a member variable of the class that owns it. Components are expected to be properties of an actor. Instead of an array of components, you could use an array of actors that have the component in them.