Summary
When a fully custom item (an entity with an item_component) is dropped on the ground and then picked up by a player, any sound_component or particle_system_component on the item entity is not cleaned up. The audio keeps playing and the Niagara particle keeps simulating at the location where the pickup used to be, even though the item is now in the player’s inventory.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Scene Graph
Steps to Reproduce
- Create a custom item prefab (an entity with an
item_component) and add asound_componentplaying looping audio and/or aparticle_system_componentto the entity. - Drop the item into the world as a pickup.
- Have a player pick up the item
- Observe that the audio keeps playing and the Niagara particle keeps simulating at the spot where the pickup was.
Expected Result
When the item is picked up, both components should be cleaned up — the audio should stop and the Niagara particle should stop rendering at the old pickup location.
Observed Result
Neither component is cleaned up when a player picks up the item: the sound continues to play and the Niagara particle keeps simulating at the location where the item used to be.
Platform(s)
All
Additional Notes
Current workaround: on pickup, manually removing or disabling the sound_component /`particle_system_component on the item entity gets rid of the stray sound and particle