Hey everyone, I’m running into an interesting issue. I’m unable to pass in a TArray of a derived class. For example, I made a C++ function in a blueprint library class that takes in a TArray<AActor*>, but if I pass in a TArray<derived class> (such as ABCPickupItem* in my example), it doesn’t work. I thought that this might not be something that is supported in the engine, but blueprints *do *allow it.
So, is this something that isn’t supported in C++ that blueprints handles behinds the scenes? Am I doing something wrong? Of course, I could always iterate through the array and cast back to the base class, but that doesn’t feel good for a helper function.