Troubles with events when clients are far from server

Hello everyone,

I’m working on a multiplayer game with P2P connection. So far the multiplayer works well exept for one particular situation, when the character client move too far away from the character server some variables and events are not replicated correcly.

Here are some examples:

  1. The character have to shoot a projectile. The projectile spawn at a bone attached to the weapon. When the client is near the server, the server get the right spawn location but when the client move like 20meters from the server, the server doesn’t get the right location.
  2. Some minions can attack with a melee weapon. To do damage a collision box overlap the enemies. when the server is near the minions the overlap event fires well but when it is not near the overlap event is never called.

I tried with the multiplayer shootout demo and it seems to do the same when the client is really far from the server, the projectile doesn’t spawn on the gun.

Any ideas what could cause this?

Last thing, the dedicated server option in the editor seems to fix those problems but we are not ready yet for dedicated servers.

Same problems here.

After more investigations it is not related to the distance but it’s linked to the server pawn camera.If the server player see other actors everything is fine but when there are out of the view the problems begin.

Having the same issue. Did you solve this?

I have fixed my problems by switching the Skeletal update type from Animation to Animation & Ragdoll or something of the sort.