Compiler doesn't detect "movement_types" although "using { Fortnite.com/AI }" is set

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.

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)

1 Like

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

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