I’m trying to make an inventory system which uses a struct for all details needed from the items, and then 1 blueprint to apply the mesh to and all the details like stack size etc.
I’ve used print strings to ensure this is indeed working. Then the thirdpersoncharacter casts to it and tries to add it to the inventory component here, which through print strings I know it works
However when I try to add it to the inventory components “try add item” function, the item data does not make it through. I originally was just using the struct variable and breaking it down after passing it into tryAddItem, but that returned empty. Passing the data table works, but passing the name only works on 1 of 2 items.
Using print strings I determined it only gets lost when it passes into the tryAddItem function. My thirdPersonCharacter has all the correct values as well as the item_default
Ok I figured it out. I renamed a row but my items I’d placed didn’t adjust their row name like I thought they would. That’s why one of my row cannot be found.