Blueprint Spec — UE 5.5–5.7
Parent Class
UserWidget
Dependencies
Purpose
Visual debug overlay menu for developers and QA testers. Provides categorized panels for toggling debug features, viewing runtime state (narrative, AI, events, inventory), adjusting world settings (time scale, lighting), and executing cheat commands from a user-friendly UI. Accessible via the ~ console toggle or from the BPC_DevCheatManager. Only available in non-shipping builds.
Enums
EDebugPanel
| Value |
Description |
| Main |
Top-level menu |
| Cheats |
Cheat toggles |
| Performance |
FPS, memory, draw calls |
| AI |
AI state and debug vis |
| Narrative |
Quest/chapter state |
| World |
Time, lighting, weather |
| Camera |
Camera modes |
| Inventory |
Item list and manipulation |
| Events |
Dynamic event state |
Variables
| Name |
Type |
Description |
Panels |
TMap<EDebugPanel, UUserWidget> |
Sub-panel references |
ActivePanel |
EDebugPanel |
Currently visible |
bIsOpen |
Bool |
Menu visible |
bMinimized |
Bool |
Compact view |
DebugConsoleText |
FText |
Command input |
Functions
| Name |
Inputs |
Outputs |
Description |
OpenMenu |
— |
— |
Show debug menu |
CloseMenu |
— |
— |
Hide debug menu |
ToggleMenu |
— |
— |
Open/close |
SwitchPanel |
Panel: EDebugPanel |
— |
Change active panel |
GetMinimumView |
— |
— |
Compact mode |
ExecuteCommandFromUI |
Command: FString |
— |
Run cheat |
UpdateAIDebugDisplay |
— |
— |
Refresh AI info |
UpdatePerformanceDisplay |
Metrics: FPerformanceMetrics |
— |
Refresh FPS/stats |
UpdateNarrativeStateDisplay |
— |
— |
Show story state |
UpdateEventStateDisplay |
— |
— |
Show event state |
ToggleGodModeUI |
— |
— |
Toggle from UI |
ToggleNoClipUI |
— |
— |
Toggle from UI |
ToggleCollisionDebug |
— |
— |
Toggle from UI |
ToggleAIVisibility |
— |
— |
Toggle from UI |
SetTimeScaleFromUI |
Scale: Float |
— |
Slider control |
SpawnItemFromUI |
ItemID: FString |
— |
Drop-down spawn |
SkipToChapterFromUI |
ChapterID: FString |
— |
Drop-down skip |
Blueprint Flow
Event Dispatchers
| Name |
Payload |
Description |
OnDebugCommandExecuted |
Command: FString |
Command run |
OnPanelChanged |
Panel: EDebugPanel |
Switch panels |
Communications With
Reuse Notes
- Panel-based architecture allows easy addition of new debug panels
- All interactive elements bound to DevCheatManager functions
- Comms-visible only; all logic lives in DevCheatManager
- Command input field mirrors console functionality
- Quick-nav keyboard shortcuts for common panels
- Compact/minimized mode for minimal screen intrusion during gameplay
- Designed for developer productivity, not end users