UKismetSystemLibrary::IsUnattended
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns true if the engine is running unattended, i.e. '-unattended' was passed on the command line.
Caveats & Gotchas
- • This mirrors FApp::IsUnattended() — automated build/CI pipelines set this to suppress modal dialogs and blocking UI.
- • Do not use this as a general 'is this a dedicated server' check; unattended and headless/server are different concepts.
Signature
static bool IsUnattended() Return Type
bool Example
Skip a blocking confirmation dialog during automated runs C++
if (!UKismetSystemLibrary::IsUnattended())
{
ShowConfirmationDialog();
} See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?