Recording and Studies
SuperDex Recorder captures an episode of the SuperDex scene and its robot
controllers to a Rerun recording (.rrd). Use it to preserve demonstrations,
inspect commands alongside physical motion, and annotate trials with events,
measurements, and per-episode metadata. It records either editor-assembled or
runtime-loaded scenes.
The Unreal recorder module is available on Win64. Do not assume an experimental standalone Quest build records locally just because it can run the simulation and teleop modules.
Record an Episode
- Place one SuperDex Recorder actor in the level.
- In its SuperDex Robotics → Recording settings, set Output Directory if you want a location other than
<Project>/Saved/SuperDexRecorder. - Set Properties before each episode—for example, task, condition, and trial identifiers.
- Choose automatic or application-controlled recording:
- The default starts once the physics scene and configured Wait For Actors Before Start actors are ready, and commits when play ends (unless Commit On End Play is off, which discards the episode).
- For explicit trials, disable Start Automatically and call Start Recording, then Commit Recording or Abort Recording from Blueprint. Check the boolean that Start Recording returns: when an episode cannot start, it returns false and fires neither On Recording Started nor On Recording Aborted. Prevent Automatic Start can gate the default start while the application prepares.
- Use On Recording Started/Committed/Aborted to update the UI and confirm the episode's output path or failure.
A second recorder in the same world does not divide the scene into separate streams; it would duplicate the capture, so only the first recorder to initialize records. Get Active Recorder lets application Blueprints find that recorder without keeping their own actor reference.


What the Recording Contains
The recorder samples SuperDex bodies and robot state, controller commands, and configured additional sources. Samples share frame, sim_time, and wall_time timelines; comparing simulation and elapsed wall time exposes slow or missing steps. Enable Record Contact Forces when the analysis needs contact forces, bearing in mind the extra data per contact point.
The physics recording already includes SuperDex bodies and the robotics recording includes SuperDex bots. Add source components only for information outside those streams:
- SuperDex Recording Player Camera Source — the first local player's camera/headset pose.
- SuperDex Recording Transform Source — transforms of selected Unreal components, including objects that do not have SuperDex physics.
Attach sources to the recorder or include their actors in Source Actors. From any Blueprint, use Record Event for milestones and Record Scalar(s) for measured values or outcomes. These calls do nothing outside a recording. Keep each scalar name's meaning and array length consistent across episodes.
Scene Archives and Replay
A recording of state is not automatically a self-contained scene definition. For archive-based reconstruction, set Scene Archive to the matching native archive. When Export Live Scene is on, Scene Archive is used only if the live export fails. The recording stores the archive's filename and content hash; use the archive with that hash to reconstruct the scene, not a later file with the same name.
For hand-built levels in the editor, enable Export Live Scene (off by
default). It writes a native .superdex_scene_archive when the first episode
starts and references it in subsequent episodes. It pauses the simulation
during export. After adding or removing bots or physics actors, call
Export Live Scene At Next Episode to refresh the archive for the next episode.
Live export does not capture every element of the Unreal application. It exports supported native physics and bot data, including task objects already spawned into the simulation. Those objects are captured as scene actors, not as a task file or a catalog of spawnable prefabs. It does not capture complete Blueprint logic, pose-source/retargeter pipeline, communication wiring, or other Unreal-side components. Archive-based replay or resimulation is therefore most straightforward for passive physics simulations. For an actively controlled or interactive scene, identify and recreate the missing components and wire them back together before expecting meaningful behavior. An exported archive is not a turnkey replay of the original teleoperation application.
Live scene export is editor-only, including Play In Editor: it needs the
bots' source files, whose paths are not retained for packaged runtime export.
A packaged build can record with a supplied matching archive, or without one;
it cannot create a live archive itself. If the live export fails, as it does in
a packaged build, the recorder references Scene Archive instead, logs a
warning and stores unreal.scene_archive_fallback = true with the episode,
because that archive may not match the live scene.
Require Scene Archive refuses capture if no archive is available. Without
an archive, the recording can still be inspected in Rerun, but cannot
reconstruct its scene from an archive.

Keep Episodes Bounded
The recorder writes sampled columns in bounded chunks on a background thread, rather than retaining a whole episode until commit. Blueprint Commit Recording is still synchronous: it ends capture, waits for the remaining writes, and reports success or failure before returning. Commit at a natural pause, keep episode boundaries meaningful, and check the result rather than assuming play ending guarantees a complete file.
Native C++ hosts can use CommitEpisodeAsync to finish in the background; the next commit and recorder destruction wait for it. Starting an asynchronous commit is not evidence that the output has finished writing. See the Python recording guide for completion and failure handling.
For the native recorder configuration and additional sources, see the Unreal Recorder README.
Spectator View for VR Capture
Place a SuperDex Spectator Camera in a PC VR level to show a 16:9, head-following view in the desktop spectator window. Set its field of view, head-relative offset, and position/rotation smoothing; Lock Roll keeps the view level. This is useful for capturing readable demonstration video alongside a native recording.
The spectator camera does not save video or add a stream to the .rrd.
Capture the window with your video-recording tool. It requires an HMD with a
controllable spectator screen and does nothing in non-VR play or standalone
Quest.
Optional Study Prompts
The SuperDexStudy module supplies questionnaire data assets and a SuperDex Study Question Prompt actor. Assign Question Data and implement its Blueprint interface for the presentation you need. The actor's On Response event supplies a numeric answer; connect it to Record Scalar on the active recorder and use Record Event for block starts or other study milestones.
The prompt does not organize an entire study or automatically store every answer. Trial order, participant-facing UI, identifiers, and recording boundaries remain application logic. Set the next episode's metadata before starting it and commit each block at a natural pause.