UKismetSystemLibrary::GetBuildConfiguration
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPureBlueprintThreadSafe
Description
Returns the current build configuration (e.g. "Development", "Shipping", "Test") as a string, for displaying to end users in diagnostics.
Caveats & Gotchas
- • Returned string matches EBuildConfiguration names, not a localized/user-friendly label — translate it yourself if showing to players.
- • Marked BlueprintThreadSafe, so it's safe to call off the game thread.
- • Useful for gating debug UI (e.g. hide dev-only overlays unless configuration is "Development").
Signature
static FString GetBuildConfiguration() Return Type
FString Example
Only show debug overlay outside Shipping builds C++
if (UKismetSystemLibrary::GetBuildConfiguration() != TEXT("Shipping"))
{
ShowDebugOverlay();
} Tags
Version History
Introduced in: 4.20
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?