Greetings.
I am currently developing a Roblox game, and it’s all extremely lightweight. One issue that I am coming across that is impacting my performance is these occasional lagspikes, which can be originated to this mysterious “WaitForLock” entry in the MicroProfiler.
It doesn’t tell me what it’s doing or why, but it’s causing insane lag whenever it happens. I’m not constantly changing lighting settings, effects, or graphical settings, especially not on the serverside.
These logs are from a serverside run of my game. Where are these truly coming from, and how can I fix them?