I'm having trouble with 30k+ ping in a game I made, and 900 when I play alone

While I was testing my game with my friends, all of our ping skyrocketed to over 30k, then dipped down to less then 100 for around 5 seconds before jumping back up to 30k.
I found other topics like this but with no solution. All of our internet is good and we all live in the same time zone. All of us were locked at 60 FPS and I updated it multiple times while we were testing.

Simply just joining the game gets you to 875. It takes a whole minute or so to get normal ping (you can see in the top right.)

1 Like

What is the game? What scripts are you using? You aren’t providing enough information for people to help you.

1 Like

I would suspect a memory leak somewhere. Look at your loops and connections as some may be left open or are being created in a loop of sorts.

2 Likes

Found it after one of my friends spawned in with 10 forcefields at once. Suspected that all of the particles loading in at one time lagged everyone, along with the fact that there are spawn points all over the map making forcefields easy to obtain, making particles all over the map spawn in all the time. Just disabling them fixed it.
I saw other people having this problem so I guess here’s a possible solution?

3 Likes

I also turned off bullet tracers on fast shooting guns to see if it helps anymore. Thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.