Skip to content

First native test ​

Run a built-in Automation test with Unreal Engine 5.8. This example needs neither an MCP plugin nor any test code of your own.

Get the sample ​

After installing the CLI, download BlankBlueprint.uproject and profile.json from BlankBlueprint into the same folder. If you already have the repository, use Examples\BlankBlueprint. Open PowerShell in the folder containing both files and save and close the editor for this project.

Run the test and check the result ​

powershell
$profile = '.\profile.json'
ueagent doctor --profile $profile

Check that engine points to UE 5.8. The sample profile already contains the full name of the test to run.

powershell
$output = @(ueagent run --native --profile $profile)
$output

The first line is the run directory. After the run reports PASS, you can verify the exported report with a separate command.

powershell
$runDir = $output[0]
$report = Join-Path $runDir 'Automation\index.json'
ueagent check-report $report --test System.Core.Serialization.CbField.None

check-report should return "status": "PASS". If you see NOT_RUN, check that the full test name matches the report. If the run fails, open result.json and editor.log in the run directory. Report status reference

Use your own project ​

Replace the path, full test name, and Editor target with your own. Blueprint-only projects can usually omit --target. C++ projects require the matching Visual Studio toolchain and Windows SDK. UBT checks the existing outputs and schedules the necessary compile actions.

powershell
ueagent run --native --project .\MyGame.uproject --test MyGame.Smoke --target MyGameEditor --timeout 600

For a playtest with scripted inputs and recording, see Scenario configuration. The sample's tested environment is listed in the support matrix.