NPC Missing Display Name on First Spawn

Reference ID

d30bbcf0-47ec-c290-8f50-81b8734b3bb7

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Character

Summary

Custom NPCs with the new system don’t have the name on top of their head when spawning for the first time. If you kill them and it spawns the next one, then the name appears correctly.

Steps to Reproduce

  1. Create a blank project
  2. In My Project Content create a new Artificial IntelligenceNPC Character Definition
  3. Open the object and add a “UI Modifier”
  4. Give it a display name
  5. Customize other things, such as HP bar enabled and cosmetic (it doesn’t seem to matter which of these, but I can repro with Commando_M_Zombie and Commando_M_Haunt).
  6. Give the NPC a team modifier in case it doesn’t have one. Give it team 1, so it’s on the same team as you.
  7. In Verse Explorer you could create a new behavior, but the issue appears even if you leave behavior default / None.
  8. Add your NPC device to the scene
  9. In Outliner, select island settings and enable the Pickaxe, so you can deal damage.
  10. Then in island settings, enable friendly fire.
  11. Run the game

Expected Result

The NPC should spawn with the display name specified in step 4. I also expect the NPC’s name to appear regardless if they are on the same team as me or not.

Observed Result

The name above NPC is inconsistent. After killing the NPC the next spawn usually has a name. Potentially some kind of replication issue with the UI component.

Platform(s)

windows

Additional Notes

As a creator it would be ideal to have more control over showing the UI or not, and even editing the display name for new spawns at runtime, without the need for a large amount of similar spawners (each with slightly different NPC settings).