Download

Item Duplication Bug (Solved)

Hey, I have an issue with my inventory system duplicating items when dragging and dropping them in the UI.

It’s all explained in the attached image, thanks!

Could it be called more than once? Try a DoOnce at the start. Just an idea…

That’s not it, it’s two separate assets overriding their own unique On Drop function

I’ve figured out a way to do it:

What was the crucial difference?

I just had to change the function to an event in the Inventory Panel, and call the event from the function, allowing me to use the delay node and quickly toggle a boolean that prevents the rest of the event from triggering if dropped on a specific slot