Dropping items does not unequip them, they can still be used

Hi,

There seems to be a bug that is causing the items to not be unequipped when pressing Y to drop them. To reproduce this, open the demo scene and load the Melee scenario. Pick up a katana or sword and then press Y to drop. The item pickup will be spawned, but the player is still holding the weapon in his hands. It seems that the weapon isn't being uneqipped for some reason.
 
Good catch, Auto remove was disabled on the Atlas prefab, I've enabled it.
1672676857382.png
But dropping an item should always remove it no matter if this option is ticked or not. So I made an additional change in the code. It will be available in the next update.
 
Good catch, Auto remove was disabled on the Atlas prefab, I've enabled it.
View attachment 10144
But dropping an item should always remove it no matter if this option is ticked or not. So I made an additional change in the code. It will be available in the next update.
I see, yeah I don't remember having to do anything in V2 to have to get the items to be removed, so I was a bit confused as to why they weren't removing in V3. It would be great if this functionality was automatic :)
 
Top