unreal-performance
Installation
SKILL.md
Unreal Engine 5 performance
Start with the general loop in game-performance (budget, baseline, one change, measure again). This skill
is the Unreal part.
Measure a packaged build
Play In Editor compiles shaders on first use and carries the editor's own cost, so PIE hitches are often not what players see. Confirm everything in a packaged Development build.
stat unit: Frame, Game (game thread), Draw (render thread), RHIT and GPU times. The largest one is the limit.stat game,stat scenerendering,stat rhi(draw calls),stat gpuorProfileGPU.- Unreal Insights: launch with
-trace=defaultand open the trace to see which function took a long frame. - PSO hitches:
-LogCmds="LogPSOHitching Verbose"names the material and pass of each pipeline state created at draw time. - Memory:
obj list class=<Class>andmemreport -fullshow which class keeps growing.
Report p50, p95, p99 and the worst frame in ms, from the same route each time.