Skip to content

Tool side effects and verification ​

Operating modes (Development by default) ​

ModeWhen to useScope and stop condition
Development (default)Routine feature work and bug fixesIncremental dependency check through UBT, targeted Automation, and fast PIE (ueagent scenario --no-record --no-evidence, reusing --endpoint). Stop once the target check passes.
DiagnosisReproducing or isolating a specific defectEnable video/audio capture, media compare, media check-frames, bone traces, or Unreal Insights only when needed. Stop once the root cause is found or fixed.
ReleaseMilestone deliveryFull regression, recorded gameplay with audio, Shipping packaging, full evidence bundle, and Git/LFS audit. Never the default for routine edits.
  • Reuse existing build, test, and Editor connection results on the same code and asset version, citing the git_sha and input basis.
  • Commands print concise summaries by default; read full logs and evidence on disk only when needed (or pass --verbose).
  • Passing Automation, generated video, a live process, or a successful package build only proves that check; real gameplay acceptance requires human playtest.
OperationSide effects and acceptance
doctor, check-reportRead environment or evidence. Inspect both JSON and exit status
run --nativeChecks native targets with incremental UBT, start the editor and write reports. Check project, exact test, fresh result and normal exit
hygiene auditReads the project and writes a report. Surface scan errors
hygiene release, association wizardMay delete files or alter system settings. Confirm authorization and recovery first

Record failures and untested paths separately from passes. Use an explicit input and reproducible scene for visible behavior. If MCP evidence only covers the endpoint, verify the editor project and PID before relying on tool output.

Reproduce a Blueprint behavior change ​

On UE 5.8.4 with Monolith installed, run ueagent pie-lab --monolith "PluginDir\Monolith.uplugin" --movement-fixture. Set $project to the printed project path.

powershell
ueagent pie --project $project --fixture-bindings off
ueagent pie --project $project --fixture-bindings on
ueagent compare "first run directory" "second run directory"

Each run saves the fixture Pawn, injects the same W input and samples its world position. Expect a completed FAIL at 0 cm followed by PASS above 5 cm. Inspect events.jsonl, capture.json and the frame images. Store game-specific maps and input sequences in the game's scenario JSON and pass it with --profile.

Record gameplay ​

  • Use ueagent uap-lab --audio --standalone-trace for the disposable host. Install the C++ toolchain, Git and media extra. The first run fetches and builds the pinned UnrealAgentPlayer.
  • To capture your own game, run ueagent setup --capture-project MyGame.uproject with the editor closed. Build its Editor target, start audible PIE, then run ueagent record MyGame.uproject --seconds 10. This uses Monolith's editor Python interface. Inspect the MP4, WAV and the game-time and wall-clock fields in capture.json.
  • With an idle, preconfigured OBS scene, use ueagent media record --scene "scene name" --seconds 10 --run "existing run directory". The scene selects the audio sources. Use ueagent media extract video.mp4 --seconds 1 --audio --run "run directory" to extract a frame and audio track.

For a silent WAV, check the scene's audio source and the editor's background audio setting. Disable background CPU throttling if only a few frames per second are captured. Pass --min-fps 20 to fail below a required source rate. Inspect source_fps and max_frame_gap separately from the MP4's encoded 30 fps.

Use a Scenario to play and record in one run. Compare clips with ueagent media compare before.mp4 after.mp4 --start 0 --end 4 --interval 0.5 --run . to export side-by-side frames and their timestamps.

For raw viewport capture, ueagent media check-frames frames.csv checks consecutive engine frame IDs and reports capture-clock intervals. A minimal CSV has time,engine_frame as the header and two records such as 0,100 and 0.017,101. For a fixed-step project replay, run ueagent media check-frames events.jsonl --first 120 --last 179 --fixed-fps 60. JSONL sample rows use type: "sample", frame, engine_frame, and game_delta_s. The bounds are inclusive. Missing endpoints, repeated frames, and mismatched steps produce errors. Check video decode and audio separately. Capture-clock intervals and simulation steps each measure a different part of the pipeline from presentation timing.

Place a disposable project under UEAGENT_ARTIFACTS/Labs and run ueagent verify-animation <project.uproject>. The command creates a fixture from engine tutorial assets and records Layered Blend, state-machine, and Montage PIE samples in calls.jsonl and result.json.

Diagnose animation from source data ​

  1. Use Git history, generation manifests, and import settings to scope the affected batch. Record the source clip, target package, skeleton, generator version, and recipe. Check that callers propagate returned poses. For example, Unreal Python's set_bone_pose returns the updated pose.
  2. At matching keys or normalized phases, compare source forward kinematics, the expected retargeted pose, raw AnimSequence tracks, and compressed evaluation. Check key-bone translation and rotation, the reference pose, the additive base, and root motion. Compare the absolute pose of stationary tracks as well.
  3. Rebuild confirmed damaged targets. Restart the Editor, reload from disk, and verify the evaluated poses. Cover an expected moving clip and a valid static pose in baker regression checks. Once upstream tracks and evaluation are verified, diagnose the AnimGraph, Montage, IK, and runtime displacement.
  4. Replay the same inputs and camera positions to evaluate the visible result. For footwork, inspect lift, landing, and weight transfer together with feet, pelvis, torso, head, and hands. World-space toe trajectories and ground clearance can locate suspected sliding. Inspect the complete action to judge support. Record findings, versions, sample frame numbers, and replay inputs, and keep media that demonstrates the visible difference.