How to make the Nav Mesh Volume follow Player?

Im making an endless runner but with AI into it, i have got the endless platforms however the ai wouldn’t work on them.
So i went into project settings, nav mesh and set it to dynamic.
However, my nav mesh volume would only cover a certain area, and would not extend when my character kept on running.
any suggestions? thanks.

You could cover your entire level with the navmesh volume and enable “Generate Navmesh Only Around Navigation Invokers” (or something along those lines) in the Project Settings. Then just add a navigation invoker component to your AI pawns and the navmesh will only be created around them.

i saw a endless runner tutorial before where the player didnt actually move only the road pieces the character was on moved. if you applied the same principal then you would have the path constantly moving to the player and also it would be constantly moving through the nav mesh.

Just tried what you said. And now only some AI are moving, some arent. Is there anything i need to check in the navigation invoker settings? I put them in the AI Components.
Ill see if i can record to show you what im seeing.