So, in my game I am experiencing lag spikes every couple of minutes for like 1 seconds. I have absolutely no clue how they originate but those are hte micro-profiler informations once such spike happens:
This is how it looks normally:
Do you know where this could come from? Have a good day!
I would also like to note that the script performance is as usual during such lag spike. Everything in my game is anchored / I haven’t added anythign un-anchored when those started to appear. The weird thign is, I have even reverted the update by removing some features I’ve added with it and those lag spikes still occur.
Okay, interesting. Hover over “Mode” in the microprofiler toolbar and select Detailed. Then, click back onto any of the frames in the top bar graph thingy.
Alright. Also, click on pause in the microprofiler toolbar when the lag spike happens so it doesn’t go away. Once you’ve done that, you can zoom in with the scroll wheel and the bars will represent how much time each task is taking.
Btw, I have tested the leaderboards and they do not cuase the lag. The game’s micro profiler during the reset of the leaderboards is as usual, not laggy.
How strange. I looked through related bug reports and they’re all about BillboardGUIs. Have you verified that every BillboardGUI (even if not under Workspace or adorned to anything) has a max distance?