Items are unequipped if picking up to fast

I have an scenario where the character tries to pickup an item when his inventory is full, and i have it drop the current equipped item and equip the newly picked up item. This seems to work fine but if i try to pickup 2 items in succession very fast, the weapon is unequipped and the new item is never equipped, leaving the equipUnequip.ActiveItemSetIndex to be -1.
Is there a way to prevent this? I assume it is something to do with the equip of the first picked up item not completing before I call drop and equip again, but not sure.
 
Are you able to reproduce this within the demo scene? EquipUnequip can get complicated really quickly so I like to have an example that I can go by in order to see what's happening.
 
Top