Lesson 03 of 5 / Unreal

What should I save to show the fix worked?

Run the same assertions on the fixed build and capture the same moment again. Put both results and both captures in one proof row with their build identities.

Your move

Make the change and capture the AFTER

The asserts are the verdict; the before/after pair is the proof a person can see. Same scenario, same framing, build identity attached. A still when a still proves it, a short clip when motion matters.

Use this rule

Run the same assertions on the fixed build and capture the same moment again. Put both results and both captures in one proof row with their build identities.

The situation

Start where the choice gets difficult.

You take a new clip of your Unreal game after the checkpoint fix. This time Cancel leaves the player in place. The old capture has a different camera angle and ends just as the prompt closes. Your new clip starts later, with the player already standing still. A reviewer asks whether you clicked Cancel in both takes and whether the old build starts travel a moment after the clip stops. Neither clip gives them the event they need to compare.

The automated result has its own problem. You see a pass next to a checkpoint test, but two versions of the test are open on your machine. One reads travel immediately as the prompt closes. The other follows it through the observation point you agreed with the requester. Open the ticket you wrote, find the accepted starting state and action, then put the run record and the camera plan side by side. A reviewer ought to be able to see what changed and a second developer should be able to rerun the check that decided the outcome.

What changes the decision

Read the evidence before you add more work.

Put the steps in order. Set up the available checkpoint and open its prompt. Choose Cancel and reach the agreed observation point. Compare the travel state and the ability to use the checkpoint again with the acceptance lines. When the setup, action, and check have separate jobs in that order, engineers call this arrange-act-assert. Ask your agent to point out each stage in the spec.

Use the same starting conditions, action, and observation point for your evidence. Keep the camera and framing comparable. Review the surrounding image as well as the prompt. A caption cannot recover what was outside the frame.

Epic's Unreal Engine 5.9 documentation covers the tools for this. In the Session Frontend, the Screenshot Comparison Tool compares captures against Ground Truth images with tolerance levels. The Functional Screenshot Test actor can supply the capture. Epic stores Ground Truth per platform, RHI, and shader model, with source control needed when you add or replace it. Keep the story's BEFORE capture with the proof row even if an approved change later calls for a different Ground Truth. For repeatable moving shots, you can use a Camera Rig Rail with a Cine Camera Actor keyframed in Sequencer to move along the same spline. In this method, you use that setup to retake the shot on the fixed build.

Do this now

Three moves, in order.

  1. Freeze the failing assertion, scenario, and capture conditions before changing behavior.
  2. Run the same check on the fixed build. Retake the visual evidence at the same observation point with comparable framing.
  3. Review the full frame or clip, then attach the two captures, reports, and build identities to the ticket's proof row.

Working session

Build it from the evidence in front of you.

  1. Mark the moment you need

    Keep the comparison fixed if you take a wider shot for context. If a still can show the agreed result, capture a still on each build. Use clips when the reviewer needs to follow the time between the action and the outcome.

  2. Give each promised behavior a verdict

    The skeleton below focuses on reopening the same prompt after Cancel. Replace YourScenario with your own scenario code. Keep the other acceptance lines in their own checks, including the Confirm route, so a fix to Cancel cannot hide a loss of the original Confirm behavior.

  3. Change just enough to rerun

    Give your agent the failing report and the accepted outcome. Ask for the smallest gameplay change that meets it and keep the original test intact for the comparison. Save the AFTER report with its build identity. If you discover the test itself has to change, rerun the corrected test against both gameplay versions before you compare results.

  4. Check the frame and record the evidence

    View each still at full size, or watch both clips through the observation point. Look for a missing player, unexpected UI, debug text, or a camera mismatch that changes what the reviewer can see. Link the two takes and the two reports in one row. Mark any gap you still need to close so the next person can reproduce the same shot.

Inspect the finished shape

Automation Spec skeleton for the reuse line

BEGIN_DEFINE_SPEC(YourCheckpointReuseSpec, "YourGame.CheckpointReuse", EAutomationTestFlags::ProductFilter | EAutomationTestFlags::ApplicationContextMask)
    TSharedPtr<FYourScenario> YourScenario; // your own scenario helper
END_DEFINE_SPEC(YourCheckpointReuseSpec)

void YourCheckpointReuseSpec::Define()
{
    Describe("Checkpoint prompt", [this]()
    {
        BeforeEach([this]()
        {
            // Create YourScenario here, then reach the starting state.
            YourScenario->OpenAvailableCheckpointPrompt();
        });

        It("should reopen the same checkpoint after Cancel", [this]()
        {
            YourScenario->CancelAndUseSameCheckpoint();
            TestTrue("Same checkpoint prompt opened", YourScenario->SameCheckpointPromptIsOpen());
        });
    });
}

Build the artifact

A proof row: asserts, before/after pair, builds

Copy these fields into a note, document, or sheet you already use.

Ticket and line Name the behavior and link the agreed starting state, action, and observation point.
BEFORE Build identity, executed assertion result, and still or clip from the same scenario.
AFTER Build identity, executed assertion result, and comparable still or clip.
Frame review Who checked both full images or clips, what changed, and what else they saw.
Gaps Missing or incomparable evidence that blocks the proof row.

Give AI the bounded job

Prompt from your artifact—not from vibes.

Assemble a proof row using only the two supplied reports, captures, and ticket. Preserve the build identity and assertion text for each run. Flag a mismatched starting state, action, observation point, camera, or test revision. Do not infer a pass from a screenshot or fill in a missing build. Mark any unreviewed frame or required check as open.

Before you use it

The work leaves your hands only when:

  • Both verdicts map to the same acceptance line and test.
  • Both captures show the matching observation point, with the action visible when timing matters.
  • The proof row links both builds and reports, and a person has looked at the full visual evidence.

Failure patterns

Watch for the move that looks useful but is not.

The better-looking take

The tell
Your AFTER uses a crop that hides the part of the frame that exposes the change.
The fix
Match the BEFORE framing and check both images at full size. Label any extra angle as supplementary evidence.

The assertion moved

The tell
The new check samples travel at a different point, and the result flips.
The fix
Apply the corrected check to both versions so you can attribute the result to the changed behavior.

Ground Truth replaces the evidence

The tell
The expected image is updated, and the original capture vanishes from the review.
The fix
Save the original comparison pair with the story. Review the intended Ground Truth change on its own terms.

Use the boundary

When this rule does not fit.

For a rule whose outcome has no useful visual expression, attach the observable result a reviewer can inspect, such as the relevant output with the assertion and build identity. Avoid staging an unrelated screenshot to fill the row. If the camera or starting conditions differ enough to change the interpretation, record why and retake comparable evidence before presenting the pair as proof.

Epic documentation