Reference
Optional engine settings
Engine settings that change pipeline precaching results, what each costs, and how to record a bundled PSO cache.
Warm Start never changes these. They are here so you can choose with full knowledge. Put them in your project's Config/DefaultEngine.ini under [SystemSettings] unless noted. Test each change in a packaged build with the Stutter Report.
| Line | What it does | What it costs |
|---|---|---|
r.PSOPrecache.ProxyCreationStrategy=0 (5.8) |
Draws objects at once, even if their pipelines are not ready. Default is 1 (wait, the object appears late). 2 draws a default material until the real one is ready. | With 0, every missed pipeline becomes a stutter instead of pop-in. Warm Start's screen matters most here. |
r.PSOPrecache.ProxyCreationWhenPSOReady=0 (5.4 to 5.7) |
Older name for the same choice. Default 1 (wait). 5.8 still reads it, translates it and logs a warning. | Same as above. |
r.PSOPrecache.KeepInMemoryUntilUsed=1 |
Keeps precached pipelines in memory until first use instead of relying on the driver cache. Read-only, so ini only. | NVIDIA and Qualcomm only. Capped at 2000 graphics and 1000 compute pipelines. Uses memory. |
r.PSOPrecache.Resources=1 |
Also precaches when assets load, not only when components load. Default 0. | More pipelines compiled, some never used. Longer warm-ups. |
r.PSO.RuntimeCreationHitchThreshold=20 |
Threshold (ms) for the engine's own runtime pipeline hitch counter. Read-only, so ini or command line. | None. Measurement only. |
r.PSOPrecache.Validation=1 |
Turns on the engine's precache hit and miss counters. Read-only. | Small. Use for testing builds. |
Logging: -LogCmds="LogPSOHitching Verbose" prints each runtime pipeline hitch with its material and pass (5.5 and later; Development and Test builds).
The bundled PSO cache#
Some pipelines cannot be predicted by precaching (some global and post-process passes). For those, the engine's bundled PSO cache is the fallback. It is enabled by default in packaged builds but empty until you record one:
- Turn on Share Material Shader Code in Project Settings > Packaging.
- Play a packaged build with
-logpsoand visit your content. - Merge the recorded files with the
UnrealEd.MergeShaderPipelineCachescommandlet. - Put the merged file in your project and package again.
By default (5.8) the engine compiles from this file only what precaching missed, plus global shaders. Warm Start's screen waits for the bundled cache too: the engine counter it watches includes bundled-cache work, and the cache runs in fast batches while the screen shows. You do not need a bundled cache to use Warm Start. It only helps with the passes precaching cannot predict.