Hi, im working on an VR Inventory. Everything worked fine, until i added a second item
I want to add the items via overlapping event to a box and store it in the inventory. As i said above, it worked with one item, if put a second one into it, the problems begin.
The first one is always spawning on the correct position: “Weapon Spawn On Char”
The second one doesnt spawn at all. And sometimes the items gets duplicated. I get the error “Attempted to Access” at the “Attach Actor To Component”.
I want to check if the item is already in the inventory if i want to put it back to it. If it is in the inventory it should snap back to the “Weapon Spawn on Char” Position that is attached to the Player. If i pick another weapon, and want to equip it, the already equipped weapon should dissapear, and the new clicked item should spawn on this position.
I think the problem is, that i destroy the actor, but i dont know how to do it otherwise. I tried it with other methods, but then the items get duplicated and so on.
Anyone any ideas? Thank you very much!