Session Replay

Automatic recording and desktop playback of VR sessions, including equipment motion, events, LED wall video, and per-frame performance analysis.

Privacy & consent: Recording starts automatically whenever you enter VR (bRecordSessions is on by default). The desktop editor status bar shows REC mm:ss, but nothing is displayed inside the headset and no microphone audio is recorded. Always inform participants and obtain their consent before they enter VR.

Watching a replay

  1. Open Window → XR Stage Session Replay.
  2. Select a session from the list (auto-named YYYY-MM-DD HH:MM, <duration>, <profiles> until you rename it; you can also add notes) and click Replay.
  3. Use the transport controls:
  4. Play / Pause and playback speed.
  5. Timeline: click or drag to scrub to any moment.
  6. Event list: click any recorded event (grab, release, detach, setting change, menu press, ping, teleport, turn, profile switch, or log message) to jump directly there.
  7. Camera mode: switch between Fly freely and any participant's eyes.
  8. Click Stop to return to the live stage. Entering VR, starting Play, or closing the level also stops replay automatically.

Testing without a headset

Run console command XRStage.Session.MakeSample to generate a 10-second sample session in the open level, or XRStage.Session.Replay <seconds> [eyes] [play] to control playback from the console (omit arguments to stop).

Performance analysis & CSV export

When bRecordPerformance is enabled (default on), the replay panel includes a performance view:

  • Timeline: One bar per second showing its slowest frame, color-coded against PerformanceTargetFps (white line: 45 for RTX 4060 Laptop, 72 for RTX 4080 Laptop) into on-target, too slow, and >2× target time, with event ticks and grey headset-off spans.
  • Session summary & frame breakdown: Average FPS, 1% low, % slow frames, clickable slowest frame, and live vs average Game, Render, RHI, and GPU times (threads run in parallel, so they do not sum).
  • Computer graphs (collapsible, 1 Hz): PC & Unreal CPU %, VRAM (including Windows DXGI budget), RAM, battery warning, plus NVIDIA-only GPU %, temperature, power, clock, and throttle % (via NVML).
  • CSV export: Click Save performance CSV to write performance_frames.csv and performance_per_second.csv into the session folder. session.json records the hardware and rendering settings snapshot; unknown metrics appear as ? (empty in CSV), never 0.

Note: Recorded FPS is the editor's frame rate, not headset-side reprojected or dropped frames—use Virtual Desktop's performance overlay for headset metrics.

What is recorded vs not recorded

  • Recorded: Head and finger-tracked ghost hands, rays, teleport arc, pings, highlights, VR menus and Settings Panel (including animations and 3D tiles), grabbable equipment and attachments (transforms, meshes, materials, light/camera/lens/focus/aperture settings), 3D cues played through PlayCue, events, and the LED wall image with its stamped projection pose.
  • Not recorded: Haptics, voice/microphone, desktop mouse edits, per-core CPU/disk/network, and non-static-mesh props (skeletal meshes, Gaussian splats). Static room geometry comes from the current level as saved.
  • Non-destructive playback: Replay temporarily hides real equipment (no undo or save impact) and spawns transient stand-ins. Live wall stream/capture updates pause during replay while camera pose sending continues unaffected.

Settings & disk storage

Configure recording under Project Settings → Plugins → XR Stage VR → Session Recording:

  • bRecordSessions (default on), RecordingFolder (empty = Saved/XRStageSessions, ignored by Diversion), RecordRateHz (default 30 Hz).
  • bRecordPerformance (default on), PerformanceTargetFps (45 / 72), and graph colors (Performance...Color).
  • bRecordWallVideo (default on), WallVideoRateHz (12.5 Hz), WallVideoWidth (1280 px), WallVideoQuality (80 JPEG), WallVideoMinFreeGB (20 GB).

Each session is stored in its own folder (session.json, data.xrs, wall.xrs) and flushed roughly once per second, so a crash loses at most ~1 second. Nothing is deleted automatically. If free disk space drops below WallVideoMinFreeGB, only wall video pauses while everything else keeps recording.

Current limits

  • The VR frame-time cost of bRecordWallVideo has not yet been measured in a headset—turn it off if VR performance drops.
  • Replay inside an active Multi-User session has not been tested, and recordings from separate PCs are not merged.
  • Remote participants appear in replays only once Multi-User pose sync sends remote user poses.