Issue with NavLink causing performance degradation

Unreal5.6
Project Setting > NavigationMesh > Runtime Generation: Dynamic

NavLink is a child object, and when the parent object moves, it continuously accumulates calculations, resulting in reduced performance.

Detail > Smart Link Is Relevant: false
When set to false, moving the parent object does not cause performance degradation.

.BP Attempted approach:

While moving → Smart Link Is Relevant: false

While stationary → Smart Link Is Relevant: true

.Result:

NavLink does not function.

Is there any way to solve the performance problem?

Hey there @FieldTechnology! Welcome to the community! Without looking at the source code, I have a hunch that the smart link relevancy change is failing due to some form of dirty/clean system when it comes to the Navmesh. Just as a test, after enabling it, move the object once again just a bit, and see if after the recalculation the Smart Link functions as normal.

As you’re already aware, Navmesh is great for stationary or minimally changing objects, but with larger moving objects the continual recalculations is a problem. When navigating around large moving vehicles like boats for example, it’s often recommended to have a custom navigation.

1 Like

@SupportiveEntity thank you. it’s working fine