# Broken NPC Spawner - custom verse behevior

**URL:** <https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035>\
**Category:** Issues and Bug Reporting\
**Tags:** npc, unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [March 26, 2024, 1:37pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035 "2024-03-26T13:37:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SatoriFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/satorifn/32/720436_2.png) [@SatoriFN](https://forums.unrealengine.com/u/SatoriFN)\
**Post date:** [March 26, 2024, 1:37pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/1 "2024-03-26T13:37:38Z")

</div>

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

AI

### Summary

When attempting to use custom verse behavior for a NPC Character Definition, it will fail to validate when launching a session from the UEFN editor. See error below:

- /Stranded100Rounds/Characters/Hexa/HEXA\_NPC\_Character\_Def Illegal reference: /VerseDevices/\_Verse/VNI/VerseDevices .
- [AssetLog] /Stranded100Rounds/Characters/Hexa/HEXA\_NPC\_Character\_Def : Illegally references asset /VerseDevices/\_Verse/VNI/VerseDevices. . (FortValidator\_IllegalReferences)

### Steps to Reproduce

Create a new NPC Character Definition and set the behavior as a custom verse behavior file. Attempt to validate the character definition or just launch a session, then you will get the following error.

### Expected Result

The NPC Character Definition would be valid and the session would successfully launch.

### Observed Result

Fails to validate and launch session

### Platform(s)

UEFN, Verse, PC

---

<div class="post-metadata">

**Author:** ![SatoriFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/satorifn/32/720436_2.png) [@SatoriFN](https://forums.unrealengine.com/u/SatoriFN)\
**Post date:** [March 26, 2024, 2:16pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/2 "2024-03-26T14:16:35Z")

</div>

I was able to isolate the issue. It is due to accessing a creative\_device inside of the npc\_behavior class.

Is there a reason why this has changed and is no longer possible? It really cuts down on the innovation that can happen with the npc\_behavior class as now it is isolated from other verse classes that can be interacted with to create complex and innovative player experiences.

---

<div class="post-metadata">

**Author:** ![BrunoAr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brunoar/32/892014_2.png) [@BrunoAr](https://forums.unrealengine.com/u/BrunoAr)\
**Post date:** [March 27, 2024, 9:46pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/3 "2024-03-27T21:46:13Z")

</div>

I am getting the same error…

I hope this is a bug and not change intended, otherwise it will block my project… I need to access damage volumes, detection volumes, etc…

---

<div class="post-metadata">

**Author:** ![Benjf29](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benjf29/32/1204359_2.png) [@Benjf29](https://forums.unrealengine.com/u/Benjf29)\
**Post date:** [March 28, 2024, 1:02am UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/4 "2024-03-28T01:02:36Z")

</div>

For get it work, put “Empty Behavior” inside the NPC Definition file

On the NPC Spawner, put your behavior on “NPC Behavior Script override”

---

<div class="post-metadata">

**Author:** ![SatoriFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/satorifn/32/720436_2.png) [@SatoriFN](https://forums.unrealengine.com/u/SatoriFN)\
**Post date:** [March 28, 2024, 6:52pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/5 "2024-03-28T18:52:56Z")

</div>

Thanks for this work around; glad to have things functioning again.

Hopefully they resolve the complete issue so that it functions properly as intended with the NPC Character Definition.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [April 4, 2024, 7:15pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/6 "2024-04-04T19:15:40Z")

</div>

The status of FORT-729257 incident has been moved from ‘In Testing’ to ‘Closed’. Resolution Reason: ‘Fixed’

---

<div class="post-metadata">

**Author:** ![Pyr0sa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pyr0sa](https://forums.unrealengine.com/u/Pyr0sa)\
**Post date:** [April 4, 2024, 8:00pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/7 "2024-04-04T20:00:44Z")

</div>

The flip side of this bug is that NPCs without fully-populated Override Behavior scripts simply no longer spawn since 29.00 and 29.10.

(For example, if you previously used the canned “Guard” behavior as a starting point inside of a custom NPC Character Definiion, but lots of modifiers, and didn’t want to hand-code a Verse Override for every one of them… Those NPC simply don’t spawn at all since 29.00.)

---

<div class="post-metadata">

**Author:** ![Pyr0sa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pyr0sa](https://forums.unrealengine.com/u/Pyr0sa)\
**Post date:** [April 13, 2024, 4:38pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/8 "2024-04-13T16:38:59Z")

</div>

Is there a target release for FORT-729257 by any chance?

I just checked on Xbox, and it does not appear to have made it into the latest hotfix. Custom NPCs assigned default behaviors are still not spawning.

Thanks!

---

<div class="post-metadata">

**Author:** ![Pyr0sa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pyr0sa](https://forums.unrealengine.com/u/Pyr0sa)\
**Post date:** [April 24, 2024, 4:24pm UTC](https://forums.unrealengine.com/t/broken-npc-spawner-custom-verse-behevior/1773035/9 "2024-04-24T16:24:31Z")

</div>

FORT-729257 is confirmed to be fixed on PC and Xbox as of the public 29.30 release this week.

Confirmed two ways:

1. new private build with the correct NPC with default Guard behavior, spawning correctly according to timer settings.
2. The original previously-released public build (unchanged from the 28.x timeframe) also started spawning again.

Thanks Epic devs!
