The enemy moves to the coordinates below the player's coordinates

I am using ‘RecastGraph’ and ‘AI Path’.
However, when the player is on the second floor, the Enemy Character moves downstairs.
At this time it is not known why this is happening.
I need help resolving this phenomenon.

ps. This article has been translated by Google Translator.


Make sure that the pivot point of the characters are at their feet. If they are at the center of the character it may happen that the nearest part of the navmesh is on the wrong floor.

If this does not help, do you think you could post a screenshot?