(Task scheduler question) Why is rendering not happening first in Microprofiler?

So according to scheduler priority, this is the order of tasks that (could) happen per frame:

  • Input processing
  • Rendering
  • Replication receive
  • Simulation
  • Heartbeat
  • Replication send

Why is it that whenever I look at the microprofiler, I usually see the frame start with replication processing (eg. Replicator/ProcessPackets), then simulation, then heartbeat, and only then .PreRender and rendering?

1 Like

I believe that graphic is out of date

1 Like

By graphic do you mean the one in the task scheduler documentation? Can I ask how you know? And if that’s the case, dang… is there an updated graphics or not?

You can see the order being respected if you understand when the frame acutally begins. Where you do that jump in the screenshot you provided, thats the start of a new frame. Sometimes roblox doesn’t mark frame timers right and lies when frames start and end.

1 Like

How’d you know? If that’s the case, how would I ever know where a frame actually starts and ends? Is this a current known issue? And if so, is there any progress on it being fixed?

It actually had been the case on desktop for years but other platforms did not do this, opting to put rendering after the heartbeat. It was changed to align with those platforms last month after someone pointed that out. Forgot where the bug report was.