UBlueprintPathsLibrary::EngineConfigDir
#include "Kismet/BlueprintPathsLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the directory where the engine's root configuration files (BaseEngine.ini, BaseGame.ini, etc.) are located. Use this when a tool needs to read or reason about default engine config rather than the project's overrides.
Caveats & Gotchas
- • This is the root/base config location, not the generated per-project config — see GeneratedConfigDir() for where the engine writes merged/runtime config output.
- • Editing files here affects every project using this engine install; prefer project-level config overrides (ProjectConfigDir()) instead of modifying engine defaults directly.
Signature
static FString EngineConfigDir(); Return Type
FString Example
Locate the engine's base config directory C++
FString ConfigDir = UBlueprintPathsLibrary::EngineConfigDir();
UE_LOG(LogTemp, Log, TEXT("Engine config dir: %s"), *ConfigDir); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?