RealDocs

UBlueprintPathsLibrary::FeaturePackDir

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

Description

Returns the directory where feature packs are kept. Feature packs are the content templates offered when creating a new project or adding content via the Add Feature or Content Pack dialog.

Caveats & Gotchas

  • This is an engine installation directory, not a per-project path, so it is read-only at runtime for a packaged game.
  • Only useful in editor tooling; a shipped game has no feature pack directory to inspect.

Signature

static FString FeaturePackDir()

Return Type

FString

Example

Log the feature pack directory C++
FString FeaturePacks = UBlueprintPathsLibrary::FeaturePackDir();
UE_LOG(LogTemp, Log, TEXT("Feature packs: %s"), *FeaturePacks);

Version History

Introduced in: 4.20

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.