RealDocs

UBlueprintPathsLibrary::ProjectModsDir

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

Description

Returns the Mods directory of the current project, derived from FApp::GetProjectName(). Equivalent to FPaths::ProjectModsDir() exposed for Blueprint/Python.

Caveats & Gotchas

  • Only relevant to projects that support a mod-loading workflow — most projects never populate or read from this directory.
  • Distinct from ProjectPluginsDir(); the engine's built-in plugin discovery does not scan this directory automatically.

Signature

static FString ProjectModsDir();

Return Type

FString

Example

Locate the project's Mods directory C++
FString Mods = UBlueprintPathsLibrary::ProjectModsDir();
UE_LOG(LogTemp, Log, TEXT("Project mods dir: %s"), *Mods);

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.