UBlueprintPathsLibrary::AutomationTransientDir
#include "Kismet/BlueprintPathsLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the directory for automation save files that are intended to be deleted every run, as opposed to persistent test artifacts.
Caveats & Gotchas
- • Files placed here should be treated as disposable — the automation framework may wipe this folder at the start of a test run without warning.
- • Do not use for baseline/reference images you want to keep; use AutomationDir() for anything that must survive between runs.
Signature
static FString AutomationTransientDir() Return Type
FString Example
Write a scratch file for a test run C++
const FString ScratchDir = UBlueprintPathsLibrary::AutomationTransientDir();
const FString ScratchFile = ScratchDir / TEXT("run_state.tmp"); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?