Bug when dragging using multiple mouse clicks

How can we fix this bug?

This happens when you are in the inventory system and is trying to drag an item from one slot to another. if you select an item using both the left and right mouse at the same time and drag the item in between the slots, the item gets stuck floating above the inventory slots.

how to fix and prevent this from happening?
Thanks.

By literally rewriting Unity’s input system, I’m afraid. The issue here is happening within the EventSystem code itself, as the two competing mouse buttons are confusing the system.

Oh, I see, I just have to live with it for now.
It’s too complex for a beginner like me.

I just hope, these issues are clearly stated on the beginning of course as a disclaimer maybe, tips or something like that. things to watch out for or so.
so that when the student encounters it, they would know that it is coming from unity’s side.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms