Does the issue occur in the editor or during gameplay? If it occurs during gameplay, please specify which movement system is being used (free movement or grid movement):
Gameplay
Briefly describe the issue you're experiencing:
I found out a bug. When i unequip item manually, unequip script works well. When i unequip item by swapping it with other item, unequip script doesnt work. I found that, when i had increasing and reducing mana via script on a ring. When i was swapping item, i could farm mana infinity, because unequip script that reduce doesn't applied.
Are there any errors in the in-game debug console or external console window?
No
Provide the steps necessary to reproduce the issue:
Create item, create slot that can equip that item, create script for equip and script for unequip that item. Try to replace item with other item, you will see unequip doesnt work when swapping instead of unequipping manually.