Hello,
I’m working on a tennis game at the moment, and I’ve encountered a lot of people telling me about how the balls randomly freeze. Their ping spikes up almost 100 points, but it isn’t for the entire server. This also doesn’t happen in other games they play.
I’m trying to find the cause of this, so I opened performance stats and took a look at the receive/send rates, but couldn’t find anything out of the ordinary when the ball froze on my own screen.
Next, I looked at the server’s LuaHeap, and noticed that it slowly rises (all the way up to 30 points, in some cases, as servers run for a long time). In the picture I attach, you can see how the LuaHeap’s graph actually jumps in weird ways. I’m not really sure why this happens.
Notice how in the graph above, it looks like a step function. (Just something I noticed).
This is extremely weird behavior, and I believe this might be causing the lag spikes.
Does anyone have any ideas as to why this may be happening?