RealDocs

UBlueprintPathsLibrary::AutomationDir

function Engine Blueprint Since 4.0
#include "Kismet/BlueprintPathsLibrary.h"
Access: public Specifiers: staticBlueprintPure

Description

Returns the directory used to store files saved by the automation testing framework, such as screenshot comparisons and test artifacts.

Caveats & Gotchas

  • Only relevant when running automated tests (Gauntlet, the Automation Testing framework, or functional test maps) — not used in normal gameplay.
  • Contents persist between test runs unless explicitly cleaned, which can cause stale baseline images to be picked up by screenshot comparison tests.

Signature

static FString AutomationDir()

Return Type

FString

Example

Locate automation test output C++
const FString TestDir = UBlueprintPathsLibrary::AutomationDir();
UE_LOG(LogTemp, Log, TEXT("Automation artifacts: %s"), *TestDir);

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.