I’ve made multiple posts on this in the past but cannot find any solution or reasoning to this problem. I’d imagine the number of requests being made creates massive lag in the game, and at the very least clutters the server side output making debugging practically impossible. These events come at least 10 times a second at times.
The only information I can provide is that I use :LoadCharacter(). Some scripts in my game spam :LoadCharacter () this is something im slowly fixing by working through the scripts is it possible this is the cause?
I’d assume so, because lately the games I’ve been working on have been getting tons of lag, I also think you should try using something other than :LoadCharacter() but just my opinion try the first option before the 2nd and let me know!
It looks like this bug is related to spamming LoadCharacter causing issues in the character loading process.
We will look into fixing these issues but it’s not a good idea to spam APIs.
If it is difficult to fix the issue of spamming LoadCharacter there is a simple work-around.
Fork the character Sound script by copying it from StarterCharacterScripts of a running simulation into StarterCharacterScripts in edit mode.
Locate the top of the CreateNewSound function in the server Sound script.
Add the following code to the very top of the function.
local existingSound = parent:FindFirstChild(name)
if existingSound and existingSound:IsA("Sound") then
existingSound:Destroy()
end