Is it normal to have slow UTexture::ForceRebuildPlatformData in insights 5-6 times per second

I’m diagnosing a performance issue where the game appears to consistently stutter a few times per second. Insights shows there is a slow (~36ms) call to UTexture::ForceRebuildPlatformData at about the same rate as the stutter, 5-6 times per second so my guess is they are related, but I can’t find any information on what it is.

What is this method and is it normal to be so slow? Is there anything I could do to reduce the time?

It’s not visible on the screen shot but insights shows 8 calls to this method after but taking less than 1ms each.

Here is my take on it, and I might not be the most qualified to answer however. I think you are on to something and that it is higher than it typically should be. I would have a look at the DDC, Derived Data Cache. I would clear that along with the Intermediate folder, a reset will rebuild things and you might see different results. I would otherwise look into pre-loading.

This may be a bug reported to be fixed in 5.4.3 - A staff member responded.
See here for details: UE5.4.0 usage extremely laggy - #54 by Rawalanche
Good luck!