Record Simulations
Record Simulations keeps particles, physics, cloth, hair and camera shake the same in every job of a High Resolution or Split-frame 180/ 360 render in Unreal Engine
Last updated About 4 hours ago
Record Simulations plays your shot's simulations through once and records them, so every job of a split render plays back the same particles, physics, cloth, hair and camera shake.
Use it for any render made with
Generate Jobs, or any direct render split across farm machines, that has dynamic content.Without it each job simulates its own, and the joins between faces, tiles and blocks show.
Turn On Record Simulations
Tick
Record Simulationsto keep particles, physics, cloth, hair and camera shake the same in every job and on every farm machine, when you pressGenerate Jobs, orPrepare JobunderPrepare For Farm.In
Movie Render Queueit is in theOWL 180 / 360 Renderersetting, underHigh Resolution Renders.In
Movie Render Graphit is on theOWL High Resolution Rendersnode, aboveSave Queue On Generate. In a graph without one, it is in theOWL 180 / 360 Renderernode'sRendering & Writingsection, abovePrepare For Farm.
When you click
Generate,it plays the sequence through and records the simulations into a recorded copy of the sequence,/Game/Generated/S_<sequence>cached<date>_<time>.Every job, tile and block replays that copy, so the pieces match one continuous render on any machine.
Your own sequence is left unchanged.
The map doesn't need to be open (if it is, the recording includes its unsaved changes), but it must be saved in the project.
For a direct render (one you render without
Generate Jobs) split across render-farm machines, pressPrepare JobunderPrepare For Farm, in theRendering & Writingsection.With
Record Simulationsenabled it records the simulations too, and auto exposure then matches on every machine.
Warm-Up
Turning it on runs the simulations through once when you generate the jobs, which adds a few seconds.
That run has its own warm-up, so recorded effects have already built up on your first frame.
You don't need to add frames before the shot or raise
Pre-Roll Framesfor them, and your warm-up settings don't change the recording.
What It Records
Niagara particle effects.
Niagara Fluids, 2D and 3D grid fluids. See Niagara Fluids in VFX.
Chaos fractures, so you don't need to cache them by hand (see Chaos Systems in VFX).
Chaos Cloth Asset cloth.
Physics, ragdolls and physics-driven animation (rigid bodies, AnimDynamics, springs).
Animation the sequence doesn't drive, such as an animation set on the mesh or an AI Animation Blueprint.
Actors that gameplay moves, such as a Blueprint or a character walking a path. Actors the sequence already drives play from the sequence.
Placed lights that gameplay switches on or off, or changes in brightness or color.
Mass crowds and traffic, including the cars and crowd characters Mass draws as actors near the camera.
Groom hair simulated by Niagara.
A camera shake on the
360 Camerafrom aCamera Shaketrack inSequencer. It is recorded once and played back as camera keys, so every job, tile, eye, block and machine sees the same shake.Without the recording, a shake that starts at a random point, such as the default
Perlin Noiseshake, starts somewhere different in every job, and edges look doubled where faces and tiles meet.With
Record Simulationsoff, such a shake on the camera you render gets a warning that its view may differ between faces, eyes, tiles and machines, suggesting you enableRecord Simulations.Nothing enables it for you.
Mass spawners: the recording waits for them to finish spawning, whatever the shot's warm-up.
The wait ends 5 seconds after the last spawner reports.
After 5 minutes it stops waiting and logs a warning naming any spawners that never finished.
Spawners with no
Entity Typesor noSpawn Data Generatorspawn nothing, so they're logged and not waited for.Spawners triggered from Blueprint gameplay aren't waited for yet.
What It Can't Record
Effects that keep no state between frames (stateless emitters) are skipped: give them a fixed
Random Seed(see Niagara Random Seed in VFX).The panel lists any it finds, and any effects it can't record (cache those with your own
Chaos Cache Manager, or render in one job).
Generate logs a warning naming what gameplay does that a recording can't play back, as it may differ between faces, eyes, tiles and farm machines:
actors and lights that gameplay spawns, and actors it destroys, hides or shows;
material parameters that gameplay changes;
parts of Mass actors near the camera that can't be recorded.
The panel and the recording also warn about what a recording can't play back:
a camera shake on a parent camera, which never moves the attached
360 Camera;a camera shake on the player camera, which no 360 render shows;
anything driven by
Live Linkrather than the sequence (record it first with Take Recorder); andmedia that plays on its own (play it from a
Mediatrack instead).A shake started from Blueprints with
Start Camera Shakedoesn't show in a 360 render at all: add it as aCamera Shaketrack instead.
A camera spawned by a shot's sub-sequence can't be recorded, so its shake is only reported.
An effect that never starts running, for example one that fails to compile, is missing from the recording without a warning, as it is from the render.
Effects it skips or can't record still simulate live in each job, so they need a warm-up as in a direct render: see Longer Warm-Ups.
What It Costs
Crowds, cloth, physics, particle effects, FLIP liquids and 3D fluids add no measurable render time when recorded.
Recorded 2D grid effects are the exception:
2D Niagara Fluids, or any effect that keeps its state in a 2D render target.
Each replaying job spends about 0.6 s a frame loading them, tiles included. For example, 1,000 frames in 200-frame blocks, split 25 ways per block (2 x 2 tiles across the faces), is about 4.3 hours of extra machine time.
The recording logs a warning naming each such effect.
Every tile and block is a separate job, and
Movie Render Graphadds about 1 s of start-up per job overMovie Render Queue(in our test, 50 jobs took 87-93 s against 42-51 s; one 48-frame job took the same on both).Advice: fewer, longer jobs save time on
Movie Render Graphand with recorded 2D grid effects: use fewer tiles, and longer blocks where memory allows.
Render Farms
The recorded copy is a project asset, so it must reach every farm machine with the project.
A new copy is written every time
Generateruns. Old copies pile up in/Game/Generatedand can be deleted.Each job loads only its own block's frames, plus warm-up.
Ultra Dynamic Sky
If you use Ultra Dynamic Sky, set its
Project ModetoCinematicorOfflinein itsDetailspanel. InReal Timeeach job gets its own clouds, and seams show.