# AI not working when launch game

**URL:** <https://forums.unrealengine.com/t/ai-not-working-when-launch-game/363931>\
**Category:** AI\
**Tags:** ai-navigation, launching-packaged-g, unreal-engine, navmesh, question\
**Created:** [July 13, 2016, 8:04pm UTC](https://forums.unrealengine.com/t/ai-not-working-when-launch-game/363931 "2016-07-13T20:04:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon71236692](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71236692](https://forums.unrealengine.com/u/anon71236692)\
**Post date:** [July 13, 2016, 8:04pm UTC](https://forums.unrealengine.com/t/ai-not-working-when-launch-game/363931/1 "2016-07-13T20:04:19Z")

</div>

When I press launch game in the editor in my main menu level and click on open the game level, the level will load normally, but my AI will stop working and the nav mesh will also stop working. How could I fix this?

---

<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:** [July 13, 2016, 8:11pm UTC](https://forums.unrealengine.com/t/ai-not-working-when-launch-game/363931/2 "2016-07-13T20:11:58Z")

</div>

Try going into Edit-\>Project Settings-\>Navigation Mesh and setting the Runtime Generation to Dynamic and checking the Force Rebuild on Load option.

Let me know if that helps.

If not, try typing the show navigation command in the console in your launched game and see if you are able to see the Nav Mesh.

---

<div class="post-metadata">

**Author:** ![anon71236692](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71236692](https://forums.unrealengine.com/u/anon71236692)\
**Post date:** [July 13, 2016, 8:23pm UTC](https://forums.unrealengine.com/t/ai-not-working-when-launch-game/363931/3 "2016-07-13T20:23:26Z")

</div>

yes, it worked. Thank you.

---

<div class="post-metadata">

**Author:** ![solscamp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@solscamp](https://forums.unrealengine.com/u/solscamp)\
**Post date:** [February 7, 2017, 7:53pm UTC](https://forums.unrealengine.com/t/ai-not-working-when-launch-game/363931/4 "2017-02-07T19:53:32Z")

</div>

Holy crap… thank you so much!!!

---

<div class="post-metadata">

**Author:** ![Loz944](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loz944/32/1148376_2.png) [@Loz944](https://forums.unrealengine.com/u/Loz944)\
**Post date:** [October 16, 2020, 10:10am UTC](https://forums.unrealengine.com/t/ai-not-working-when-launch-game/363931/5 "2020-10-16T10:10:20Z")

</div>

Thank you I am on 25.3 and had same issue this worked for me too

---

<div class="post-metadata">

**Author:** ![brandonbahn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brandonbahn](https://forums.unrealengine.com/u/brandonbahn)\
**Post date:** [July 29, 2024, 1:36pm UTC](https://forums.unrealengine.com/t/ai-not-working-when-launch-game/363931/6 "2024-07-29T13:36:11Z")

</div>

Man… Gotta love the forums. You just saved my life! hah Thank you, sir.
