ISSUES WITH SERVER LATENCY

Hey, my and my team are now having a big problem with the server latency, when you join in the game, the server is okay with a good latency, but after like 20 or 30 minutes, the latency explode and the players starts to teleport for several frames back

we have some suspicions about this

FIRST OPTION: every player in the map receive 1 coin per second, so when have like 14 or 16 players playing the map, we have a GIANT amount of events happening per second, causing the lag, just for remember, the lag starts after 20 or 30 minutes in the map, but the map in the first version have a 20 players limit, we make a new build with just 12 players limit and the glitch is still happening

SECOND OPTION: the map have 12 PETS, the pets are basicaly a blueprint who follows the player, we are using this script to make the pet follows the player

PetFollowsPlayer( FortniteCharacter : fort_character, CreativeProp : creative_prop)<suspends> : void =
        loop:
            Sleep(0.0)
            PlayerPos := FortniteCharacter.GetTransform().Translation
            DebbyPos := CreativeProp.GetTransform().Translation
            DistanceFromPlayer := Distance(PlayerPos, DebbyPos)
            Time := DistanceFromPlayer / 400.00
            CreativeProp.MoveTo(PlayerPos, rotation{}, Time)

Maybe the pets following the players are causing this lag because we have 8 or 9 objetcs getting the player location and “teleporting” to the player on every frame

THIRD OPTION: in the map we also have a item hud:
image

this item hud counts the gold, diamond and coal of the player, maybe the problem is because the gold actualize EVERY SECOND for every players and fortnite needs to actualize the players hud every time he gets 1 more gold

btw my discord is vets#4869 :slight_smile: