# \[STABILITY\] NPC behaviour has changed/broken for existing maps

**URL:** <https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281>\
**Category:** Issues and Bug Reporting\
**Tags:** fortnite-creative, unreal-editor-for-fortnite, fortnite\
**Created:** [August 16, 2024, 10:08am UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281 "2024-08-16T10:08:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![latundaPC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/latundapc/32/1068800_2.png) [@latundaPC](https://forums.unrealengine.com/u/latundaPC)\
**Post date:** [August 16, 2024, 10:08am UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/1 "2024-08-16T10:08:25Z")

</div>

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

Verse

### Summary

NPC used to work well and follow the player, now they barely obey

### Steps to Reproduce

1. Launch game and run near an NPC
2. Run away from NPC

### Expected Result

NPC should try to follow player

### Observed Result

NPC fails to follow

### Platform(s)

All (Windows, PS5)

### Island Code

6512-6070-4139 (private code, since I have pushed a new version with the fix)

### Additional Notes

they used to work fine: [https://youtu.be/J0zg-evLtFQ](https://youtu.be/J0zg-evLtFQ)

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [August 16, 2024, 1:09pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/2 "2024-08-16T13:09:12Z")

</div>

Thank you, we’ll get someone to take a look.

---

<div class="post-metadata">

**Author:** ![SoyDallas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/soydallas/32/968257_2.png) [@SoyDallas](https://forums.unrealengine.com/u/SoyDallas)\
**Post date:** [August 16, 2024, 1:22pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/3 "2024-08-16T13:22:14Z")

</div>

NPC functionality is down bad. This map has been out for a month without issues until the update.

Pal Tycoon 2  
Code 4110-6498-8557

---

<div class="post-metadata">

**Author:** ![aykutsahin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aykutsahin](https://forums.unrealengine.com/u/aykutsahin)\
**Post date:** [August 16, 2024, 1:57pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/4 "2024-08-16T13:57:26Z")

</div>

Yes it is broken, the logic was working smoothly before the latest update

---

<div class="post-metadata">

**Author:** ![Ampharel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ampharel](https://forums.unrealengine.com/u/Ampharel)\
**Post date:** [August 16, 2024, 3:49pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/5 "2024-08-16T15:49:23Z")

</div>

Specifically, it seems to me that the NavigateTo function doesn’t complete, when the target of this navigation is the location of the npc that’s trying to navigate, or within it’s reach distance if used anyway. It can be fairly easily replicated by having an npc do a NavigateTo to the player on a loop. When the npc reaches the player, the loop hangs.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/997076_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [August 16, 2024, 4:12pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/6 "2024-08-16T16:12:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vulpp](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vulpp/32/894289_2.png) [@Vulpp](https://forums.unrealengine.com/u/Vulpp)\
**Post date:** [August 16, 2024, 4:40pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/7 "2024-08-16T16:40:39Z")

</div>

This completely broke my map. Was working perfectly yesterday, now the NPCs don’t navigate to the player at all.

Deadwave:  
8740-0004-5463

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [August 16, 2024, 5:27pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/8 "2024-08-16T17:27:56Z")

</div>

Thank you, we’re checking into it.

---

<div class="post-metadata">

**Author:** ![Vilvalas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vilvalas/32/993743_2.png) [@Vilvalas](https://forums.unrealengine.com/u/Vilvalas)\
**Post date:** [August 17, 2024, 4:17pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/9 "2024-08-17T16:17:18Z")

</div>

This broke our maps as well. Hotfix would be greatly appreciated

---

<div class="post-metadata">

**Author:** ![Trance\_Fury\_YT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/trance_fury_yt/32/887649_2.png) [@Trance\_Fury\_YT](https://forums.unrealengine.com/u/Trance_Fury_YT)\
**Post date:** [August 18, 2024, 12:17am UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/10 "2024-08-18T00:17:53Z")

</div>

Something changed in the Verse core code? I got a compilation error when I loaded my project up centered around scope and the NavigateTo function. Load up your project if you haven’t yet to see if its related to that.

---

<div class="post-metadata">

**Author:** ![TelesphorosGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/telesphorosgames/32/924355_2.png) [@TelesphorosGames](https://forums.unrealengine.com/u/TelesphorosGames)\
**Post date:** [August 18, 2024, 1:09am UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/11 "2024-08-18T01:09:27Z")

</div>

+1 verification, my map’s NavigateTo() function started failing 100% of the time after last update. I tried replacing game mechanics to no avail: I grabbed new NPC spawner devices and filled them out with new parameters and also tried to create a character definition from scratch and neither worked. Also tried adjusting all kinds of settings related to my navigation i.e. reach radius, navigation mesh generation, etc., anything I could find before I realized this was a bug I didn’t cause 😅 Hoping for a hotfix as well as my game completely relies on my NPC navigation script in order to be playable

My game code is  
9763-5001-5050

---

<div class="post-metadata">

**Author:** ![13HARAMBE37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@13HARAMBE37](https://forums.unrealengine.com/u/13HARAMBE37)\
**Post date:** [August 18, 2024, 6:58am UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/12 "2024-08-18T06:58:19Z")

</div>

Have you tried reach radius 0? Kinda works for me.  
edit:  
i found a fix and im just gonna hint that dont wait for Your npc to reach navigation target, instead spawn the navigateto in a loop and inside if(distance \< x.x) add Your behavior(attack or w/e), if that makes any sense to You

---

<div class="post-metadata">

**Author:** ![kirit01011](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kirit01011](https://forums.unrealengine.com/u/kirit01011)\
**Post date:** [August 19, 2024, 3:46pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/13 "2024-08-19T15:46:18Z")

</div>

Is there an update? [NPC Navigation fails and appears dumber than before.](https://forums.unrealengine.com/t/npc-navigation-fails-and-appears-dumber-than-before/1983105)  
Add mine observations and bug/issue here as well.

---

<div class="post-metadata">

**Author:** ![latunda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/latunda/32/1047041_2.png) [@latunda](https://forums.unrealengine.com/u/latunda)\
**Post date:** [August 19, 2024, 5:38pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/14 "2024-08-19T17:38:21Z")

</div>

I think it might be best to wait for the official fix. In one of my maps I have changed the destination coordinates that can be generated to ensure destination is reachable and I use race so if navigation does not return result, it completes based on short Sleep() instead. In my other map, I only fixed npc following player part, but not the normal behavior loop, so I will be able to test the fix when it is rolled out.

---

<div class="post-metadata">

**Author:** ![kirit01011](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kirit01011](https://forums.unrealengine.com/u/kirit01011)\
**Post date:** [August 19, 2024, 5:46pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/15 "2024-08-19T17:46:13Z")

</div>

I tried something similar. Basically I’ll race a navigateto and a sleep call (very small like .3 seconds) and the navigation is so bad that prior navigation that would take it up or down staircases just utter fail.

---

<div class="post-metadata">

**Author:** ![latunda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/latunda/32/1047041_2.png) [@latunda](https://forums.unrealengine.com/u/latunda)\
**Post date:** [August 19, 2024, 5:48pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/16 "2024-08-19T17:48:08Z")

</div>

Yes the error needs to be fixed in your verse file. One way to fix it is to temporarily add a new npc behavior example and locate the corresponding section in this new file and see how variable is now created in that example. Then you can use the same way in your behavior file.

If this still doesn’t fix your npc issues, you would need to address as well or wait for the official fix.

---

<div class="post-metadata">

**Author:** ![lizzelbizzel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lizzelbizzel/32/950236_2.png) [@lizzelbizzel](https://forums.unrealengine.com/u/lizzelbizzel)\
**Post date:** [August 19, 2024, 8:28pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/17 "2024-08-19T20:28:26Z")

</div>

oh glad i found this, think I’m having the same issue. Mine spawn and nav as normal at first but as soon as an attack animation is initiated or called they just hang about and stop moving.

---

<div class="post-metadata">

**Author:** ![MaxdY](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxdy/32/698344_2.png) [@MaxdY](https://forums.unrealengine.com/u/MaxdY)\
**Post date:** [August 19, 2024, 8:46pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/18 "2024-08-19T20:46:36Z")

</div>

same

---

<div class="post-metadata">

**Author:** ![Nman\_Pkr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nman_pkr/32/1194697_2.png) [@Nman\_Pkr](https://forums.unrealengine.com/u/Nman_Pkr)\
**Post date:** [August 20, 2024, 7:32am UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/19 "2024-08-20T07:32:32Z")

</div>

I’m having this issue if you cancel NavigateTo such as with a loop that breaks on some flag and returns navigation\_result.Interrupted after which the NPC will not move again.

---

<div class="post-metadata">

**Author:** ![davidpkami](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidpkami/32/1040403_2.png) [@davidpkami](https://forums.unrealengine.com/u/davidpkami)\
**Post date:** [August 20, 2024, 6:52pm UTC](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281/20 "2024-08-20T18:52:28Z")

</div>

Same problem

Using the following code, the character get stucks after trying to make the navigation

```auto
if (NewTarget := BehaviorHelp.FindNearestTargetFromPos[NPCCharacter], TargetAgent := NewTarget.GetAgent[], TargetCharacter := player[TargetAgent].GetFortCharacter[]):
                    spawn{NPCFocus.MaintainFocus(TargetAgent)}
                    TargetPosition := TargetCharacter.GetTransform().Translation
                    NavTarget := MakeNavigationTarget(vector3{X:=TargetPosition.X,Y:=TargetPosition.Y,Z:=TargetPosition.Z})
                    NavResultGoTo:=NPCNavigatable.NavigateTo(NavTarget, ?MovementType := movement_types.Running, ?ReachRadius := NPCRange)

                    NPCAnim.Play(Attack1,?BlendInTime:=0.25,?BlendOutTime:=0.25)
                    Sleep(1.0) #Time that least to attack
                    DistanceDifference := Distance(NPCCharacter.GetTransform().Translation, NewTarget.GetTransform().Translation)
                    Print("DistanceDifference: DistanceDifference")
                    if (DistanceDifference <= (NPCRange+10.0)):
                        BehaviorHelp.ProjectileLife(NPCCharacter.GetTransform(),TargetCharacter)
                        NewTarget.Damage(NPCDamage)
                        Print("Attacking")

```

[Next page](https://forums.unrealengine.com/t/stability-npc-behaviour-has-changed-broken-for-existing-maps/1978281.md?page=2)
