Custom weapon entity prefabs do not update magazine capacity UI when modifying MagazineCapacity

Summary

When creating a custom weapon using entity prefabs and changing the MagazineCapacity value in the fort_trace_weapon_component, the in-game ammo UI widget near the crosshair often displays the default magazine capacity from the template instead of the modified value.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

UI/Tools

Steps to Reproduce

  1. Create a custom weapon using an entity prefab.
  2. Select one of the following weapon templates:
  • assault_rifle_template
  • pistol_template
  • shotgun_template
  • sub_machine_gun_template
  1. In the template’s fort_trace_weapon_component, change MagazineCapacity to a value different from the default.
  2. Place the entity prefab into the level.
  3. Launch a session.
  4. Pick up the weapon in-game.
  5. Observe the ammo widget near the crosshair.

Expected Result

The ammo widget should display the custom MagazineCapacity value set in the entity prefab.

Observed Result

The ammo widget frequently displays the default magazine capacity from the original template instead of the modified MagazineCapacity value.

Platform(s)

Any / All Platforms

Video

Additional Notes

The weapon itself appears to use the correct modified magazine capacity, but the UI widget does not consistently update.

FORT-1128404 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.

2 Likes