RealDocs

UBlueprintPathsLibrary::ProjectContentDir

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

Description

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

Caveats & Gotchas

  • In a cooked/packaged build the returned directory contains cooked platform-specific assets, not the raw .uasset files you see in the editor.
  • Not writable at runtime on most platforms (consoles, mobile) — use ProjectSavedDir() or ProjectPersistentDownloadDir() for runtime writes instead.

Signature

static FString ProjectContentDir();

Return Type

FString

Example

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

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.