Summary
item_component.Drop() on an equipped weapon in a custom Verse inventory leaves the weapon (or an empty holding pose) in the player’s hands
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Setup: a custom inventory, made by subclassing inventory_component in Verse and attaching it under the player entity. Island Settings inventory configuration is set to “Empty”. Weapons are moved into this inventory and held with item_component.Equip().
Case A, a native Fortnite weapon:
- Pick up a weapon from an Item Spawner device so it lands in the custom inventory.
- Equip it from Verse with
item_component.Equip(). The player holds it. - Call
item_component.Drop[Transform]on it from Verse, without callingUnequip()first.
Case B, a custom prefab weapon:
- Put a custom weapon prefab (an entity prefab with an
item_component) into the custom inventory. - Equip it with
item_component.Equip(). - Call
item_component.Drop[Transform]on it, without callingUnequip()first.
For comparison: with the native Battle Royale inventory configuration, and no custom inventory, step 3 of Case A works correctly.
Expected Result
Drop succeeds, the item appears in the world as a pickup, and the player’s hands are empty. This is what happens with the native Fortnite inventory.
Observed Result
Drop succeeds and the item appears in the world as a pickup, but the hands are not cleared:
- Case A, native weapon: the weapon stays visible in the player’s hands. The ammo UI keeps showing, and the weapon can’t fire.
- Case B, custom prefab weapon: the character stays in the weapon-holding pose with no weapon mesh (see screenshot).
Workaround
Call item_component.Unequip() on the item, in the same frame, before calling Drop. Both cases then behave correctly.
Platform(s)
PC (Windows), UEFN 43.00
Upload an image
Additional Notes
Only the combination of a custom Verse inventory and Drop on an equipped item is affected. The same Drop call on the native BR inventory clears the hands correctly. It looks like Drop removes the item from the custom inventory without notifying whatever is holding the equipped weapon.
