problem with nps

Hi to all! I am developing game on the unreal engine and I have a problem with the development of nps. Its movement should work like this: nps moves between random points on the map. if there is a model of the player in a certain radius from him, then he goes to him. If the player leaves this radius, the NPC will return to the starting point and start moving between random points again. However, I have a listen server implemented in my game and the nps responds only to the server host and does not notice players who then connect to the server. How can i fix it?