Over the last couple months I had been receiving a lot of people telling me about an issue involving lag spikes. When looking into it it seems whenever an FPS unlocker is used, the entire game is rate limited,. even when remotes are being fired at an extremely slow pace. I have spent way to much time trying to figure out the issue with analyzing data and trying different solutions. Script performance is low, and the rate of remote events firing is less than 5/second out of EVERY remote in the game combined when rate limiting triggers. Additionally when I say rate limiting I mean the game will block ALL request made from the client to the server.
This issue started a few months ago where I use animation event markers to make right/left footstep sounds directly under a foot and fire a remote to the server to allow other players to hear that same sound, this would fire at a rate of about 1-2 per second at its fastest, but it triggered roblox’s rate limiting and continuously say in the server developer console ‘Player “EvilEyeRule” appears to be spamming remote events’ and makes the ping skyrocket until you stop moving. From this I disabled footsteps from replicating to other players all together and it seemed to resolve the issue… until recently. Now whenever anyone walks with an FPS unlocker enabled the lag will skyrocket, despite the remote events not firing. I even disabled EVERY SINGLE remote event in the game from firing and sure enough when I move around, the server will say I am spamming remote events.
This is to the point where the game can barely be played by anyone with an FPS higher than what roblox normally locks it to, especially as I am stumped as no remote events have to be firing, and no remotes are being fired at a rate that can even be considered fast. Script performance and script rates are not anywhere high, memory and networking are unchanged, everything else seems to be fine.
Here is me running around with FPS capped at 60, footstep sound replication disabled, and a remote event updating the direction my torso faces every 0.3 seconds with task.wait() in a while true do statement, the game works perfectly fine with no issue.
Now here is my game running with an uncapped FPS, no footstep sound running, and torsos updating every 0.3 seconds just like before.
As you can see the game will now think I am spamming remote events despite no change being made besides my frame rate
lastly here is me walking around with ABSOLUTELY no remote events being fired, and my FPS being uncapped, as you can see the game continues to think I am spamming remote events
Overall the issue is getting more obscure from what I can see, as now the game will see everyone with an increased FPS rate to be spamming remote events and stop all network connection to roblox until you stop moving, even though no remote event have to be firing now. The higher someones FPS is the more likely it is that the rate limiting will kick in with a low event firing count. I hope to be able to find some fix for this because it’s just painful for me to not be able to find any fix for this issue, and to not even be able to understand what is causing the issue. There is the possibility that this could be a roblox engine bug, but there is no way to tell if it is, nor can I post in that topic.
If you would like to see this problem for yourself you can try playing the game here and see if the issue comes up for you, remember the issue seems to only happen when an FPS unlocker is enabled Weapon_System - Roblox