I dont think the do once is the problem, it comes from the UE4 UMG Inventory tutorial and it works fine(but i made some changes to the refresh, so i don’t know how it affects things). Also i don’t think i’m reseting the count, on the loop i check if i have the item, if i dont i add it to the inventory (it start with 0 then i add 1 to the value before putting on inventory) and on the loop i get the amount from the array index that already has the item(i’ve done some tests and it returns me the correct array index) and increment it.
But that’s what i THINK i’m doing, am i not?
PS: i’m pretty sure the do once on the refresh inventory is to put each item icon and the other stuff to it’s correct position, could be wrong though, as i’m not 100% sure how it works, as i said i got it from another dude.