Build Configuration
The plugin uses the WITH_NUNU_SDK compile definition to include or exclude SDK functionality. The Enable Nunu SDK Runtime project setting controls runtime activation and desktop and mobile Game and Client build capability.
Project settings
Open Edit > Project Settings > Plugins > NunuSDK. Runtime settings are saved under [/Script/NunuSDK.NunuSDKSettings] in DefaultGame.ini.

| Setting | Default | Behavior |
|---|---|---|
| Enable Nunu SDK Runtime | Enabled | Activates the SDK for new game instances and controls compile capability for packaged desktop and mobile Game and Client targets |
| Enable Nunu Console | Enabled | Allows the optional in-game console |
| Show Connection Info | Enabled | Shows a temporary connection state notification |
| Show Connection Status | Disabled | Shows a persistent viewport status indicator |
| Console Toggle Chords | F7 | Configures console hotkeys; an empty list disables hotkeys |
| Console Touch Gesture | Enabled; 3 taps, bottom-left | Configures the console touch gesture, including corner, tap count, and timing |
| Console Widget Class | Package console | Selects the console widget; a null class disables it |
Restart Play after changing the runtime enable setting. Connect through the console, a launch argument, a mobile deep link, or the subsystem API.
Compile capability
UnrealBuildTool defines WITH_NUNU_SDK as 1 when the SDK is compiled into the target and 0 when it is excluded.
- Editor targets include SDK support for Play sessions; the runtime setting controls activation.
- Packaged Win64, Linux, Mac, Android, and iOS Game and Client targets use Enable Nunu SDK Runtime to select compile capability across build configurations, including Shipping.
- Server targets default to
WITH_NUNU_SDK=0.
A project target can explicitly choose compile capability in its Target.cs file:
ProjectDefinitions.Add("WITH_NUNU_SDK=1");Set the value to 0 to compile the target without SDK capability. Define exactly one value. Runtime activation still requires the project setting to be enabled. Game code that references SDK types can guard those references with:
#if WITH_NUNU_SDK
#include "NunuSubsystem.h"
#endifFor C++ game modules, add NunuSDK to the module dependencies in Build.cs.
Build metadata
Desktop Game and Client targets stage a .nunu.json file beside the target executable. It reports the compiled SDK capability, SDK version, Unreal version, platform, build configuration, and target type. The SDK version comes from VersionName in NunuSDK.uplugin.
Android and iOS builds embed SDK metadata in their platform manifests:
| Platform | Location | Compiled capability | SDK version |
|---|---|---|---|
| Android | Application metadata in AndroidManifest.xml | ai.nunu.sdk.enabled | ai.nunu.sdk.version |
| iOS | Info.plist | NunuSDKEnabled | NunuSDKVersion |
The enabled field reflects the resolved WITH_NUNU_SDK value, including an explicit target override, and is written for both enabled and disabled builds. The version comes from VersionName in the plugin descriptor.
See Mobile Deep Links for URL scheme registration and connection behavior.