UBlueprintPathsLibrary::SourceConfigDir
#include "Kismet/BlueprintPathsLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the directory the engine uses to look for the source leaf .ini config files, before they're merged into generated configs. Equivalent to FPaths::SourceConfigDir() exposed for Blueprint/Python.
Caveats & Gotchas
- • Distinct from GeneratedConfigDir() — this is the authored source config location, not the merged output the running game actually reads at startup.
- • Per the source comment this deliberately can't be driven by an .ini variable itself, since it's needed before any .ini has been loaded.
Signature
static FString SourceConfigDir(); Return Type
FString Example
Locate the source config directory C++
FString SourceConfig = UBlueprintPathsLibrary::SourceConfigDir();
UE_LOG(LogTemp, Log, TEXT("Source config dir: %s"), *SourceConfig); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?