Recently, our game Mow The Lawn has been experiencing pretty severe lag spikes. We are trying to pinpoint the issue but we aren’t sure what the cause is.
We tried running a server with pets disabled and noticed that the issue was gone. So we rewrote them. However when running a performance test with the new pet system we noted that the issue was still prevalent which seems to contradict our previous findings.
Here’s a screenshot of the microprofiler:
Along with what is seemingly causing these spikes:
Any insight as to what the cause might be would be appreciated.
Thanks