Profiling - Total Slate Tick Time

I’m profiling my game, and i’m finding a very big culprit of slowdowns to be FEngineLoop_ProcessPlayerControllerSlateOperations > Total Slate Tick Time, split among Draw Window and Children, Slate Prepass and Add Elements Time.

Is this the widget time? It’s normal that it is inside the GameThread? It’s taking up roughly 2/3rds of my game thread at it’s worst (35ms of 60ms total tick)

I’ve been encountering this as well in unreal 4.10.4

Well, for the record and for google, i was profiling inside the editor and the entire slate thread was the editor thread.

1 Like

Actually there could be a huge chance that editor has nothing wtih your lags. If you trying to create a shop or huge inventory, or have a lot of different hidden widgets. Make sure you set them collapsed, not hidden, because:

hidden means do not draw them but do the layout pass on them, collapsed means do not draw them and do not do the layout pass on them (they take up 0 on screen)


hidden still has to do the layout pass for them.
the parent still has to determine where they go even if they are not visible

Or just use RetainerBox and don’t render your widgets every frame.

1 Like