Hi - so I looked at it and don’t see anything too strange. Although I don’t really get the prepareintentory function. Why resize? Also, why set everything to default, surely it needs to retain it’s current properties?
Could well be I’m just totally missing something there…
Do try just doing a CLEAR on that inventory array on beginplay though…