UBlueprintPathsLibrary::ProjectSavedDir
#include "Kismet/BlueprintPathsLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the project's Saved directory, the standard writable location for logs, save games, crash dumps, and other runtime-generated files. Equivalent to FPaths::ProjectSavedDir() exposed for Blueprint/Python.
Caveats & Gotchas
- • This directory is excluded from packaged builds by default and is regenerated per-machine — never store content here that the game depends on shipping with.
- • On some platforms (consoles, some mobile targets) this doesn't map to a real writable path at all — prefer the platform save-game APIs for persistent user data instead of writing files here directly.
Signature
static FString ProjectSavedDir(); Return Type
FString Example
Locate the project's Saved directory C++
FString Saved = UBlueprintPathsLibrary::ProjectSavedDir();
UE_LOG(LogTemp, Log, TEXT("Project saved dir: %s"), *Saved); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?