RealDocs

UBlueprintPathsLibrary::GameAgnosticSavedDir

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

Description

Returns the saved directory that is not specific to any particular game, usually the same location as EngineSavedDir().

Caveats & Gotchas

  • In practice this resolves to the same path as EngineSavedDir(); it exists as a semantically distinct accessor for code that conceptually wants 'the saved dir shared across projects' rather than 'the engine's saved dir'.
  • Not the same as ProjectSavedDir(), which is specific to the current project.

Signature

static FString GameAgnosticSavedDir()

Return Type

FString

Example

Compare against the engine saved directory C++
const FString AgnosticDir = UBlueprintPathsLibrary::GameAgnosticSavedDir();
UE_LOG(LogTemp, Log, TEXT("Game-agnostic saved dir: %s"), *AgnosticDir);

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.