Microprofiler diagnosis issue

Hello there, when joining my game there will be a large lag spike after about 60 seconds, then goes back to normal after another second. The scripts shown running in the developer console at the time do not seem to be causing the issue, so does the developer console only show server scripts?

It doesn’t repeat to spike but it always happens at the same time when joining the game, whether it’s a new server or an existing one, which makes me think its a local script that waits a minute before running, then overloads the player with its loop or repeat function.

But the game has many local and server scripts in it and I see no script names in the microprofiler during the lag spike, unless I am missing something. I am pretty new to the profiler so I’m not sure what I’m looking at, any help on what could be causing the spike or how to read the profiler would be very appreciated!

I have been digging through my scripts for hours and haven’t found anything that may be causing it yet, I have many more to check but thought I would share the microprofiler shot here to see if anyone had any ideas.

1 Like