Lag Spikes -- MicroProfiler shows "Thread -Foreground"

Hi. I’ve suddenly started getting lag spikes in one of my new experiences, as I walk throughout the map or just at random. I typically use micro-profiler to isolate and fix these; however, this time the micro-profiler is clearly showing a big spike every once in a while taking 44ms and just titled “Thread - Foreground” with no other info specific to my game or its code/conditions. So I have no clue what this means and there is no documentation about what this means either, so I’m left in the dark with a critical performance issue and vague information on the micro profiler.

UPD (Extra Info): Seems it is not specific to the experience and its happening outside of it as well, possibly a new issue from Windows/Roblox causing it across the board – seems like a critical problem as I cannot play at all without spiking severely in any game I play; also impacting game tests for me on my experiences as a result :slightly_frowning_face:)


Expected behavior

It to point out what specifically is causing it e.g a specific script or maybe the map.

A private message is associated with this bug report

Hiya! I think you are also experiencing the same issue as a few people including me!

I’d appreciate if this gets looked into aswell.

Are you sure they’re related? Are you also experiencing lag spikes with the Threat - Foreground script?

From what i know "Thread - Foreground" is not a script and is refering to the thread on your CPU

(This was taken from an empty baseplate with no scripts whatsoever)

So i do believe it is related to the issue listed here.

Yes this is happening to me too, I really hope this gets fixed soon.

Seems like the newest client update has fixed the issue, i am not experiencing any lag anymore.

Can confirm this is fixed for me aswell! Yay

Yeah I posted a problem like this a few days ago. Happy to say that it has been fixed!

Is this particular issue fixed for everyone?

Yeah seems good now, thank you guys for acting on it so quickly!

I’m still experiencing this issue, (Windows 10). Please look further into it, thank you!


Also still experiencing it:

In your top case, ClientEffects dominates the majority of the “Thread-Foreground” task; in the bottom photo it’s SchedulerHostConfig.default which is corescript dominated.

This issue has returned as of today for me

I legit cannot play any games like this, please look into this, last version it was fine but after it updated the issue has returned. I have resorted to downgrading my roblox to the previous version.

For some reason, I am having fps drops every 10 seconds interval in every experience. I checked the micro profiler and its the “thread - foreground” that’s making me lag. Is it me or roblox?

Yup exact same issue, this was happening a few weeks back, they fixed it with a previous build, but after the most recent Wednesday update they broke it again. I had to downgrade my roblox to actually have a playable experience

Yep, I came back to say that this issue has come back for me as well.

To anyone still experiencing this issue: submit a new report. This one is closed and it’s unlikely it’ll get any further attention.

now that this has reopened (I think? allows me to reply now), I am able to declare it is not actually fixed–it needs re-examination: