# Compiler doesn't detect "movement\_types" although "using { Fortnite.com/AI }" is set

**URL:** <https://forums.unrealengine.com/t/compiler-doesnt-detect-movement-types-although-using-fortnite-com-ai-is-set/2673968>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, bug-report, fortnite\
**Created:** [November 11, 2025, 10:36pm UTC](https://forums.unrealengine.com/t/compiler-doesnt-detect-movement-types-although-using-fortnite-com-ai-is-set/2673968 "2025-11-11T22:36:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanglingjoker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tanglingjoker](https://forums.unrealengine.com/u/Tanglingjoker)\
**Post date:** [November 11, 2025, 10:36pm UTC](https://forums.unrealengine.com/t/compiler-doesnt-detect-movement-types-although-using-fortnite-com-ai-is-set/2673968/1 "2025-11-11T22:36:07Z")

</div>

As of 11/11/2025, I’m now getting this error: Script error 3506: Unknown identifier `movement_types`. Did you forget to specify using { /Fortnite.com/AI }. Even though I do have that API down, I been had it specified.

My code worked perfectly before today’s update, and I haven’t altered any code for my NPC for about a month but yet all the sudden it can’t detect movement\_types. Got the error the first time I opened up UEFN after today’s update. There aren’t any visual errors/red squigglies under any line of code in VSCode but yet the compiler is suddenly having issue from what worked previously.

I checked to see if anything were depricated but it doesn’t seem so, and I also restarted UEFN a couple times but to no prevail.

---

<div class="post-metadata">

**Author:** ![Tanglingjoker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tanglingjoker](https://forums.unrealengine.com/u/Tanglingjoker)\
**Post date:** [November 11, 2025, 10:52pm UTC](https://forums.unrealengine.com/t/compiler-doesnt-detect-movement-types-although-using-fortnite-com-ai-is-set/2673968/2 "2025-11-11T22:52:49Z")

</div>

Okay I’ve already found the solution. Now you must have “using { /Fortnite.com/AI/movement\_types}”. Before it worked with just “using { /Fortnite.com/AI }” but what ever changes they made in today’s update changed that.

Before update:

using {/Fortnite.com/AI}

NavPrey := MakeNavigationTarget(preyAgent)

NavBP.NavigateTo(NavPrey, ?MovementType := movement\_types.Walking, ?ReachRadius := 0.0)

After today’s update:

using {/Fortnite.com/AI}

using {/Fortnite.com/AI/movement\_types}

NavPrey := MakeNavigationTarget(preyAgent)

NavBP.NavigateTo(NavPrey, ?MovementType := Walking, ?ReachRadius := 0.0)

---

<div class="post-metadata">

**Author:** ![TheyWereSweats](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/theyweresweats/32/987877_2.png) [@TheyWereSweats](https://forums.unrealengine.com/u/TheyWereSweats)\
**Post date:** [November 13, 2025, 5:40am UTC](https://forums.unrealengine.com/t/compiler-doesnt-detect-movement-types-although-using-fortnite-com-ai-is-set/2673968/3 "2025-11-13T05:40:56Z")

</div>

> [@Tanglingjoker](#):
>
> NavPrey := MakeNavigationTarget(preyAgent)

Thanks for posting your fix! Saved me some time tongiht!

The compiler was no help in tracking this down on my own

---

<div class="post-metadata">

**Author:** ![Dudiing](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dudiing/32/716892_2.png) [@Dudiing](https://forums.unrealengine.com/u/Dudiing)\
**Post date:** [November 14, 2025, 11:33pm UTC](https://forums.unrealengine.com/t/compiler-doesnt-detect-movement-types-although-using-fortnite-com-ai-is-set/2673968/4 "2025-11-14T23:33:27Z")

</div>

Thankss
