Ununusually high SchedulerHostConfig/TransferControlToRenderThread/ExperienceChatMain issues in ScriptProfiler/MicroProfiler

This issue is plaguing my main game Day of Dusk: The Border, it’s causing majorly inconsistent frametimes and heavily impacting my players ability to enjoy the game.

Frametimes will be consistent at around 120-240 FPS depending on device only to dip whenever this issue arrises. I’m unsure exactly what is causing this issue since the profiler is vague - so I’m assuming it’s a Roblox Core Script.

These issues are consistently happening within the experience ([Day of Dusk] The Border (Beta) - Roblox), any player is able to use the MicroProfiler and see the issues happening in real-time with players counts of around 50 and more, something worthy of note is some of these issues creep up whenever there is heavy combat occuring which lead us to believe it was problems with our gunscript - but after some reviewal we can’t pinpoint an issue relating to the gun-script in the microprofiler.

SchedulerHostConfig script profiler issue:
scriptprofiler-2025Apr26-182717-client.json (98.5 KB)

microprofile-20250426-183812.html (6.2 MB)

microprofile-20250426-184118.html (5.7 MB)

Expected behavior

Frametimes to be at least somewhat consistent - currently these are 50-100 FPS drops which is considerably noticable.

A private message is associated with this bug report

4 Likes

This is strange. Usually WaitForRenderThread is a red-herring in bug reports, whenever you see that, the important details are what the Render thread is doing that’s taking so long, except in this case where the Render thread isn’t doing anything for 70 of the 76 milliseconds that WaitForRenderThread is taking up:

(The Render thread is labelled as “Main/Render” from the thread names on the left.)

Usually, it should look something like this (taken from the first Profiler dump):

I’ve been receiving quite a few complaints about frame drops within a few experiences I develop for, after investigating with micro-profiler/script-profiler I noticed Script_SchedulerHostConfig.default taking the most frame time out of all the scripts within our game. These dumps were provided by players who were complaining about the frame drops within our game with clips of the issue as well.
Picture:


Micro profiler logs: (Uploaded to Mega as they’re above 10 MBs)
https://mega.nz/file/6AVmEIjI#VTMUk1FqIueiHkBfVRhdjh3BXv3wxBSWlhM56LR1PC8
https://mega.nz/file/HNMDkSbA#PaiTzI3RmcxzwwO9I61eIDhwnIs20G2Z73acdEi5MFw

If clips are needed for staff you may PM me and I’ll send them to the bug report group.