# PawnSensing/AI Move to not working in packaged build?

**URL:** <https://forums.unrealengine.com/t/pawnsensing-ai-move-to-not-working-in-packaged-build/594226>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, packaging-projects, UE4, question, UE4-27\
**Created:** [June 30, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/pawnsensing-ai-move-to-not-working-in-packaged-build/594226 "2022-06-30T15:03:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kazuki\_P](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kazuki_p/32/492969_2.png) [@Kazuki\_P](https://forums.unrealengine.com/u/Kazuki_P)\
**Post date:** [June 30, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/pawnsensing-ai-move-to-not-working-in-packaged-build/594226/1 "2022-06-30T15:03:59Z")

</div>

Hi there! I seem to be having a strange issue that I just can’t understand. I have enemy AIs that chase the player when activated by PawnSensing. This works completely fine when I play through the game in the editor. However, if I package the project, regardless of what type of package (e.g. shipping or development), the enemy AI does absolutely nothing when it senses the player. The print strings for debugging still show that the enemy AI does in fact see the player but for whatever reason, the enemy just doesn’t move.  
The whole project works completely fine in the editor.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/0/1102ad0668f92889662b0f7b62335b572a20a198.png)  
here is my blueprint for PawnSensing below.

Update: I made a blank character blueprint, put in a cube and set it on begin play to follow the player.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/a/9ba4c42315faef73817ad5397575e574c67610bd.png)  
This cube obviously works fine in the editor but also does not work when the package is built. Could there be something going wrong with the package building?

I’m at a loss here and this is for college work so any help or suggestions are greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Kazuki\_P](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kazuki_p/32/492969_2.png) [@Kazuki\_P](https://forums.unrealengine.com/u/Kazuki_P)\
**Post date:** [June 30, 2022, 4:40pm UTC](https://forums.unrealengine.com/t/pawnsensing-ai-move-to-not-working-in-packaged-build/594226/2 "2022-06-30T16:40:29Z")

</div>

Resolved thanks to this post!  
However, the cube still does not move.  
“So, in the project settings under Navigation Mesh I checked Forced Rebuild on Load and changed Runtime Generation to Dynamic (same as in my RecastNavMesh-Default) and tadaaaa… now my AI started to move in the packaged project.”

> [@AI doesn't move in packaged game](https://forums.unrealengine.com/t/ai-doesnt-move-in-packaged-game/327887):
>
> Hello guys. I’ve recently upgraded my project to 4.8 from 4.7 and now my ai character just doesn’t want to move in the packaged game. There is no problem when playing in the editor. I tried to visualize the navmesh in the packaged game by executing the blueprint node “Execute Console Command” with command “show navigation” but doesn’t show anything (btw I don’t know if this is available in a game packaged with shipping configuration). Thanks, Gabor

---

<div class="post-metadata">

**Author:** ![Anthony2361](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/anthony2361/32/880697_2.png) [@Anthony2361](https://forums.unrealengine.com/u/Anthony2361)\
**Post date:** [June 10, 2024, 7:42am UTC](https://forums.unrealengine.com/t/pawnsensing-ai-move-to-not-working-in-packaged-build/594226/3 "2024-06-10T07:42:44Z")

</div>

This solved it for me thanks. Just another one of those random form post solutions you find on the internet.

---

<div class="post-metadata">

**Author:** ![PortableAnswers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PortableAnswers](https://forums.unrealengine.com/u/PortableAnswers)\
**Post date:** [February 21, 2025, 4:09pm UTC](https://forums.unrealengine.com/t/pawnsensing-ai-move-to-not-working-in-packaged-build/594226/4 "2025-02-21T16:09:57Z")

</div>

Likewise, the Internet sure can be great. Thank you.
