# NPC AI not moving after switching between levels

**URL:** <https://forums.unrealengine.com/t/npc-ai-not-moving-after-switching-between-levels/1492558>\
**Category:** Character & Animation\
**Tags:** ai-navigation, ai-move-to, unreal-engine, Blueprint\
**Created:** [December 6, 2023, 6:50am UTC](https://forums.unrealengine.com/t/npc-ai-not-moving-after-switching-between-levels/1492558 "2023-12-06T06:50:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyranistar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tyranistar](https://forums.unrealengine.com/u/Tyranistar)\
**Post date:** [December 6, 2023, 6:50am UTC](https://forums.unrealengine.com/t/npc-ai-not-moving-after-switching-between-levels/1492558/1 "2023-12-06T06:50:52Z")

</div>

I have been working on a cutscene for my game. The game has two different Maps, Map1 and Map2 which you can switch between. I have an NPC Pawn in Map2 which performs a bunch of animations only during the cutscene. I use the AI Move To node to move around my npc during the cutscene which works fine when I begin the game from Map2. But when I start the game in Map1 and go to Map2, the AI Move To fails. What could be the problem?

---

<div class="post-metadata">

**Author:** ![Tyranistar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tyranistar](https://forums.unrealengine.com/u/Tyranistar)\
**Post date:** [December 7, 2023, 10:41am UTC](https://forums.unrealengine.com/t/npc-ai-not-moving-after-switching-between-levels/1492558/2 "2023-12-07T10:41:11Z")

</div>

In project settings, setting RuntimeGeneration to True under Nav Mesh settings worked for me.
