# Detour AI Crash 4.15 - NPC is stuck and failed to move error

**URL:** <https://forums.unrealengine.com/t/detour-ai-crash-4-15-npc-is-stuck-and-failed-to-move-error/390014>\
**Category:** AI\
**Tags:** bug, detour-crowds, unreal-engine, crash, question\
**Created:** [April 5, 2017, 6:08am UTC](https://forums.unrealengine.com/t/detour-ai-crash-4-15-npc-is-stuck-and-failed-to-move-error/390014 "2017-04-05T06:08:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [April 5, 2017, 6:08am UTC](https://forums.unrealengine.com/t/detour-ai-crash-4-15-npc-is-stuck-and-failed-to-move-error/390014/1 "2017-04-05T06:08:30Z")

</div>

Please I really need help, this is the third time I’ve posted about this issue without getting any help and it’s the only thing holding back release of my game. I think there’s something wrong with the Detour AI but I’m not 100% sure. All I know is my game crashes 100% of the time you play but the crash is intermittent meaning it happens at a random time during the play session. When I look into the log file I see the message

> BP\_NPC\_Master4 is stuck and failed to move! Velocity: X=-28.67 Y=599.31 Z=0.00 Location: X=-7613.23 Y=-5438.51 Z=133.66 Normal: X=-0.41 Y=-0.90 Z=-0.15 PenetrationDepth:14.792 Actor:BP\_SimpleCharacter\_C\_0 Component:CharacterMesh0 BoneName:WEREWOLF\_-R-Hand (0 other events since notify)

The game hard locks and I have to shut it down with the Windows Task Manager. This has been happening since 4.13 and I finally upgraded to the latest engine version and it’s the same issue.

This is what my event graph looks like:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/b/67be03c9b3a47c64e6eb6c5a2ae035e329d058bd.jpeg)

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [April 5, 2017, 3:04pm UTC](https://forums.unrealengine.com/t/detour-ai-crash-4-15-npc-is-stuck-and-failed-to-move-error/390014/2 "2017-04-05T15:04:39Z")

</div>

Hey TorQueMoD,

- Are you getting a crash reporter window? If so, please provide your LoginID and ensure to hit **Send & Close** on the report.
- Could you please provide the full logs from your project’s Saved-\>Logs folder after the crash occurs again?
- Are you able to recreate this issue in a clean project? If so, please provide a detailed list of repro steps.

Thanks

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [April 5, 2017, 6:07pm UTC](https://forums.unrealengine.com/t/detour-ai-crash-4-15-npc-is-stuck-and-failed-to-move-error/390014/3 "2017-04-05T18:07:41Z")

</div>

No crash reporter. Like I said hard lock that I have to shut down with task manager. I’d love to re-create it in a clean project but it would take ages as I’d have to rebuild everything from scratch. link text

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [April 5, 2017, 6:34pm UTC](https://forums.unrealengine.com/t/detour-ai-crash-4-15-npc-is-stuck-and-failed-to-move-error/390014/4 "2017-04-05T18:34:03Z")

</div>

Honestly, I’d be surprised if the warning you’re receiving is crashing the game, as warnings are typically just notifications that something in the game may be going wrong, not necessarily anything fatal that could cause a crash. While it’s definitely possible it could be related to Detour AI, I don’t think it’s likely based on what I saw in the logs.

Unfortunately, however, the log doesn’t really provide any concrete errors that I could see, other than [2017.04.04-23.45.38:962][727]MapCheck:Error: Error WorldSettings\_1 Maps need lighting rebuilt

Something you could try is to use the Windows Event Viewer to gather information on the crash: [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/Windows_Event_Viewer)  
I recommend running through that wiki and then providing the logs so I can see if there is any more information in there that could help track down the crash.

Thanks

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [April 5, 2017, 7:43pm UTC](https://forums.unrealengine.com/t/detour-ai-crash-4-15-npc-is-stuck-and-failed-to-move-error/390014/5 "2017-04-05T19:43:32Z")

</div>

Ok, well I changed from the detour ai over to the standard AI controller and while this isn’t quite ideal as the ai clump together more often now, it did stop the crashes so for my purposes, I’d rather just release the game now than pull my hair out trying to debug something that I barely understand. Thanks for the help though Sean.
