AI Movement dont work Correctly on Server

Hello,

I have a really strange problem or error with my AI movement on a server.

In the editor play everything works normally

AI looks for a random point
Ai runs to this point
AI waits
and from the beginning
than
Ai receives damage
AI runs to the damage dealer
AI hits the damagdealer

On the server the whole thing looks a bit different

  1. the AI looks (almost) exclusively for points on the same Z level as it is or does not move to the random point.

  2. if the AI is hit, it runs towards the player and stops at the first Z level edge.

If the player now goes down to the Z level of the ai, the ai will also follow the player across the Z levels.

I have no idea where the error should be here

For Now I have create a new Agent but if i activate only this agent in the nav mesh my npc`s on server dont move at all.

Do i have to assign the NPC´s to this agent or maybe set the agent as serversidet in some other settings i realy dont know