UKismetSystemLibrary::GetProjectSavedDirectory
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPureBlueprintThreadSafe
Description
Returns the Saved directory of the current project on disk — the writable location used for logs, save games, config overrides, and crash dumps.
Caveats & Gotchas
- • This is the correct writable directory for a packaged build; the project Content or install directory may be read-only on consoles/some platforms.
- • Returns a raw disk path — combine with FPaths utilities rather than string concatenation for cross-platform correctness.
- • Marked BlueprintThreadSafe, so it's safe to call off the game thread.
Signature
static FString GetProjectSavedDirectory() Return Type
FString Example
Write a custom log file next to the engine's own logs C++
FString LogPath = UKismetSystemLibrary::GetProjectSavedDirectory() / TEXT("Logs/MyCustomLog.txt");
FFileHelper::SaveStringToFile(TEXT("Hello"), *LogPath); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?