DevOps
X:DevOps owns engine repository automation. The current entry point is XDevops\XDevops.bat; editor Control Panel and Knowledge Hub implementation belong to X:Editor. Profiling workflows are covered in RE:Dox.
Setup
From the engine root, open the menu or run its actions directly:
XDevops\XDevops.bat -List
XDevops\XDevops.bat Setup Submodules
XDevops\XDevops.bat Setup Dependencies
XDevops\XDevops.bat Setup ProjectFiles
XDevops\XDevops.bat Build Engine Development
Submodules use the fork's recorded revisions. Read XDevops/CONFIG.txt before dependency setup or cleanup. The file uses KEY:value entries and # comments. ENGINE_ROOT overrides UE_ROOT; otherwise the root is detected from XDevops. XDEVOPS_CONFIG can select another full config path.
EXCLUDE drives dependency exclusions and generated .gitdepsignore policy. DISABLE_PLUGIN drives configured default-plugin changes and plugin dependency exclusions; it does not remove explicit project dependencies. ThirdParty cleanup policy does not itself prevent initial downloads.
The retired top-level XInitSubmodules, XSetupSlim, XBuildFlow and XRebuildUnrealInsights wrappers are archived under _Backup; use the current menu and workflow folders.
Build tools
XDevops\XDevops.bat Build FlowValidate
XDevops\XDevops.bat Build Flow
XDevops\XDevops.bat Build Insights Development
XDevops\XDevops.bat Build ASD
Flow requires its SDK/toolchain dependencies and supports a separate FlowStage action. Validation actions check inputs and do not establish a successful build. The editor build uses UnrealBuildTool; Insights rebuilds the standalone target. Flow documents native Flow PSO capture for ASD.
Cleanup and diagnostics
XDevops\XDevops.bat Debloat ThirdParty -Preview
XDevops\XDevops.bat Diagnostics GitDeps
Debloat previews by default. Review the configured scope before explicitly applying it. It includes plugin-generated outputs, configured ThirdParty payloads, excluded GitDependencies files and PDB cleanup. Keep symbols needed for debugging. Existing backups, caches and reports are retained under _Backup; the current diagnostics print console summaries.
Disk footprint varies with enabled plugins, symbols, build configurations, Intermediate and derived data. Old checkout-specific size measurements are not installation requirements.
Advanced Shader Delivery
Use the ShaderDelivery section for help, adapter/plugin discovery and shader object database generation. Output is selectable; the default is Engine/Saved/ShaderDelivery. Build the matching ASDTool first. Database generation and deployment are separate from capturing a descriptor catalogue.
Control Panel
XConsole supplies the shared editor/game Control Panel and public tab registry. Feature providers register reusable content with their own lifetime; renderer/VFX operations keep their respective ownership. The Knowledge Hub appears as a reusable tab and an editor window.
Workflow layout
| Folder | Responsibility |
|---|---|
| Setup | Dependencies, pinned submodules and project files |
| Debloat | Configured cleanup policies |
| Build | Engine, Flow, HTN, Insights and ASDTool builds |
| Diagnostics | Footprint/build/dependency summaries |
| ShaderDelivery | Adapter discovery and shader databases |
Each workflow has one selectable batch script. XCommon.bat provides shared configuration, root detection and boundary checks. XDevops/README.md is the engine-local command reference. Source checked on 5 November 2026.
Plugin tab API
Include XConsoleTabs.h and depend on XConsoleRuntime. Register an X::Editor::XCONSOLE::FXConsoleTab with RegisterTab, store the returned handle and call UnregisterTab during shutdown. The tab provides Draw/Tick callbacks, editor/game visibility, optional world scope, group and sort order. Reuse the same feature state for dockable windows and shared-host tabs.
UnrealBuildTool
Plugin Module Exclusion
DisablePluginModules lets a target skip selected modules when UnrealBuildTool
processes an enabled plugin's module list. The plugin remains enabled, and its
other eligible modules can still be built.
The backport is applied to the fork's source and has passed a UBT compilation check. Rebuild UBT before using it.
Configuration
Add the exclusions inside the constructor of the relevant .Target.cs file.
The dictionary key is the plugin name from its .uplugin filename. Each value
contains module names from that descriptor's Modules array.
For example, given MyPlugin.uplugin with these modules:
"Modules": [
{
"Name": "MyPluginCore",
"Type": "Runtime",
"LoadingPhase": "Default"
},
{
"Name": "MyPluginOptionalIntegration",
"Type": "Runtime",
"LoadingPhase": "None"
}
]
Exclude the optional integration in your game target:
using UnrealBuildTool;
using System.Collections.Generic;
public class MyGameTarget : TargetRules
{
public MyGameTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.Latest;
ExtraModuleNames.Add("MyGame");
DisablePluginModules["MyPlugin"] = new HashSet<string>
{
"MyPluginOptionalIntegration",
};
}
}
Replace the example names with your project, plugin and module names. In an
existing target, add only the dictionary assignment and the
System.Collections.Generic import if needed.
Configuration applies to that target. Add it separately to Editor, Client or Server targets that require the same exclusions. Plugin and module matching is case-insensitive.
Conditional exclusions
An existing target can exclude an integration only for selected platforms:
if (Target.Platform == UnrealTargetPlatform.Win64)
{
DisablePluginModules["MyPlugin"] = new HashSet<string>
{
"MyPluginOptionalIntegration",
};
}
Multiple modules can be listed in the same set:
DisablePluginModules["MyPlugin"] = new HashSet<string>
{
"MyPluginOptionalIntegration",
"MyPluginAnalytics",
};
Dependencies and runtime loading
This setting filters the plugin's automatic module selection. It is not a global prohibition against building or loading those modules.
- Another module's public, private or dynamically loaded dependency can still cause an excluded module to be selected.
- Explicit target module requests and build-all-modules configurations can also select it.
- The setting does not rewrite the
.uplugindescriptor or its loading phases. - An automatically loaded module can still be requested at startup, causing a missing-module error if its binary was omitted.
- Code that explicitly loads an optional module must handle its absence.
The example uses LoadingPhase: None to avoid automatic startup loading.
That does not remove dependencies or prevent explicit loading.
Use this feature for integrations whose build dependencies and runtime loading are already optional. Validate a clean build and startup for each affected target, since binaries left by an earlier build can hide missing-module problems.