RealDocs

UBlueprintPathsLibrary::ProjectPluginsDir

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

Description

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

Caveats & Gotchas

  • Only covers project-local plugins — engine plugins (EnginePluginsDir()) and enterprise plugins (EnterprisePluginsDir()) live elsewhere and won't appear under this path.
  • A plugin can still be enabled for the project even if its .uplugin isn't physically under this directory (e.g. plugins referenced from an external path), so don't use this alone to enumerate all active plugins.

Signature

static FString ProjectPluginsDir();

Return Type

FString

Example

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

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.