UBlueprintPathsLibrary::ProjectUserDir
#include "Kismet/BlueprintPathsLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the root directory for user-specific game files, always writable. Equivalent to FPaths::ProjectUserDir() exposed for Blueprint/Python.
Caveats & Gotchas
- • Distinct from ProjectSavedDir() — this is a broader per-user root that ProjectSavedDir and other user-scoped paths typically live under.
- • Guaranteed writable, so it's a safer target than ProjectContentDir() for anything written at runtime.
Signature
static FString ProjectUserDir(); Return Type
FString Example
Locate the project's per-user directory C++
FString UserDir = UBlueprintPathsLibrary::ProjectUserDir();
UE_LOG(LogTemp, Log, TEXT("Project user dir: %s"), *UserDir); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?