(this blueprint is inside of a userwidget blueprint)
Basically I have an array inside of a blueprint containing actor components, the variable type is Object.
I intend for one of them to be added to the player, in this blueprint this is Selected Upgrade
As I need the actor component class I attempted to use get class for this, but it came up with:
At first I try to cast this upgrade to an actor component, as well as to the upgrade template parent actor these upgrades are built from, but on both of these the cast fails.
I then attempted to change the kind of variable used in this blueprint, so that the variable type would match the one needed to add it to the player.
However, doing this removed the actor components from the table and did not allow me to add them back. I have tried many different variable types but the only one that lets me add the actor components to the array is Object, which as mentioned earlier will not work for this.
Help! I have no idea what else to try to get this to work.