I'm seeing odd behaviour when dragging an item from the inventory grid to equipment slots in the demo scene. Please note, this is easily recreated from the demo scene in a fresh project.
- Create new project (I've used Unity 2020.3.2 and 2021.1.7), import UIS 1.1.8, open demo scene
- Add a great sword to player Inventory
- Start the game and open the inventory
- Drag the wooden sword to the weapon slot and release - it's equipped no problem
- Now, drag the great sword over the weapon slot without releasing. Oddly, it appears now to have 2 wooden swords in your inventory (this isn't a huge problem, just strange). Also, although the image is updated to show a wooden sword, you can still see the original slot the greatsword occupied showing 15 damage.
- See screen grab 1
- Now (still without releasing the button) drag the great sword off of the weapon slot. Note, it still appears that you have 2 wooden swords in the inventory grid. The swap of the views was not reset. I would expect the extra wooden sword to disappear since I'm no longer previewing a swap
- See screen grab 2
- This is the biggest problem. Now drag and drop the greatsword over the wooden sword, notice instead of being placed in the inventory grid, the wooden sword completely disappears. The item is still there, if you close the inventory and reopen it or move any items around that would cause a redraw, you'll see the wooden sword again. However, it completely disappears after being unequipped in place of the great sword.
- See screen grab 3
- Create new project (I've used Unity 2020.3.2 and 2021.1.7), import UIS 1.1.8, open demo scene
- Add a great sword to player Inventory
- Start the game and open the inventory
- Drag the wooden sword to the weapon slot and release - it's equipped no problem
- Now, drag the great sword over the weapon slot without releasing. Oddly, it appears now to have 2 wooden swords in your inventory (this isn't a huge problem, just strange). Also, although the image is updated to show a wooden sword, you can still see the original slot the greatsword occupied showing 15 damage.
- See screen grab 1
- Now (still without releasing the button) drag the great sword off of the weapon slot. Note, it still appears that you have 2 wooden swords in the inventory grid. The swap of the views was not reset. I would expect the extra wooden sword to disappear since I'm no longer previewing a swap
- See screen grab 2
- This is the biggest problem. Now drag and drop the greatsword over the wooden sword, notice instead of being placed in the inventory grid, the wooden sword completely disappears. The item is still there, if you close the inventory and reopen it or move any items around that would cause a redraw, you'll see the wooden sword again. However, it completely disappears after being unequipped in place of the great sword.
- See screen grab 3