Download

Spawning items from class with struct problem

Hi I’m having a little problem, I have a work around working but it is messy. There has to be an easier way. Looking at the 2nd picture should explain what the problem is quicker then reading all this.

Here is what I am doing. My player is dropping ammo on the ground from his inventory and then the ammo dropped spawns as an ammo can with all the ammo that was dropped attributes with updated quantity and weight etc.

When I spawn an item from class by manually choosing the class the “SpawnActor” node shows my master item blueprint struct because it is set to “expose on spawn” and that’s what I want.

Here is the problem,
If I pull a class up from my item array and connect it to the SpawnActor node my master item struct goes missing why?