RealDocs

UBlueprintPathsLibrary::EngineUserDir

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

Description

Returns the root directory for user-specific engine files that is always writable, regardless of where the engine itself is installed. Useful for caching or scratch data tied to this engine install and user.

Caveats & Gotchas

  • Distinct from EngineVersionAgnosticUserDir() — this path is specific to the current engine version, so data written here won't be visible after an engine upgrade; use the version-agnostic variant if that matters.
  • Always writable is a guarantee about this specific directory, unlike EngineDir() which may be read-only in an installed-build scenario.

Signature

static FString EngineUserDir();

Return Type

FString

Example

Write a per-engine-version cache file C++
FString UserDir = UBlueprintPathsLibrary::EngineUserDir();
FString CacheFile = UserDir / TEXT("MyToolCache.bin");

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.