NPC Spawner Custom Type Despawn and Crash

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Devices

Summary

  1. When using Custom Type with a Custom Character and Custom Verse Behaviour in the new NPC Spawner, the NPC despawns, and respawns instantly, if you are a decent distance from the NPC.
  2. When the NPC respawns, the material of the skeletal mesh sometimes dissappears and the NPC becauses invisible.
  3. When spawning several NPC’s of this type, the game crashes after a few minutes of playing. Both in session and published project.

Steps to Reproduce

Use a custom skeletal mesh, create blueprint actor with that skeletal mesh. Select the actor in the NPC spawner when using a custom type and custom character. Walk away from the spawner to see the NPC despawning and respawning, with the mesh sometimes becoming invisible.

To reproduce the crash, use several NPC spawner with at least a couple of spawns each. Move away from the spawners so the keep despawning and respawning and play for 1-3 minutes.

Expected Result

The custom character NPC should not despawn and respawn, as NPC’s with fortnite characters do not using the NPC Spawner. If that behaviour is intended for some reason, the mesh should not be invisible after respawning.

The game should not crash when using several NPC spawners with custom characters.

Observed Result

The NPC spawner despawns and respawns custom characters indefinitely when moving away from it. Sometimes, they become invisible when respawning. The game crashes when using several NPC spawners with custom characters.

Platform(s)

PC

The status of UCB-1195 incident has been moved from ‘Needs Triage’ to ‘Awaiting Validation’.

Can confirm this bug. Happened to me as well. This Bug makes the device kinda useless if you want to use custom NPCs.

1 Like

Same issue for me… My game keeps crashing no matter what typ of custom NPC i use.

We’ve discovered also this bug which makes it unusable for our current game. :frowning: Hope this gets fixed soon! :raised_hands:

This bug has already crashed my editor 5 times

Additionally, the result payload seems to be flipped in the eliminatedEvent, as the source is the character and the target is the agent that eliminated the character. This breaks connection between devices when listening to that event unless you use Verse to activate other devices.

We’ve been experiencing the issue with the invisible character. It looks like they still have some sort of transparency material on them when they spawn.

I will also post a video of the situation where Material crashed.

Hi, thanks for reporting those issues! We are investigating them.
2 will be fixed in 28.20, and the the Eliminated Event in 28.30
For 1, do you use world partitions in your level?
Thanks!

1 Like

Hey, I got a similar problem to “1”
My Custom Type NPCs Spawned normally but despawned automatically when far from the player
And no, I was not using streaming/world partition

There is already a launch date for 28.20 and 28.30?

1 Like

I tested the despawning first without world partition and then with, same result. Switched to using guards, which causes major rubber banding, especially with world partition, which made the device quite unusable.

yes we used world partition in our game where the crash happened. There were also Creature Spawners on the map, but happens also without world patition and without other creature spawners.

I have submitted a fix for the unspawn, will try to have it in the next version.
Thanks for the info!

3 Likes

Apparently is fixed in 28.20, thank you :slight_smile:

1 Like