RealDocs

UBlueprintPathsLibrary::DiffDir

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

Description

Returns the directory used to store temporary files created while diffing content, such as during asset or blueprint comparison tools.

Caveats & Gotchas

  • Purely a scratch location — files here are transient and can be cleared between editor sessions without consequence.
  • Only meaningful in editor builds; there is no equivalent runtime use case.

Signature

static FString DiffDir()

Return Type

FString

Example

Locate the diff scratch directory C++
const FString DiffScratch = UBlueprintPathsLibrary::DiffDir();
UE_LOG(LogTemp, Log, TEXT("Diff temp dir: %s"), *DiffScratch);

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.