Getting Started
Prerequisites
- Unreal Engine 5.7+
- Two engine plugins must be enabled in your project:
| Plugin | Purpose | How to Enable |
|---|---|---|
| CommonUI | CommonButton, CommonText, CommonBorder widgets | Edit → Plugins → CommonUI, or add to .uproject |
| EditorScriptingUtilities | UMG Blueprint generation at edit time | Edit → Plugins → Editor Scripting Utilities, or add to .uproject |
Both are included with UE5 and marked as required dependencies in LLMDynamicUI.uplugin.
Installation
- Copy the
LLMDynamicUIplugin folder to your project'sPlugins/directory - Open your project in Unreal Editor
- Enable the two engine plugins above when prompted
- The plugin is ready — no additional setup needed
Basic Example
Create a .llmui file (or paste directly into the editor panel):
json
{
"version": "2.0",
"name": "LoginScreen",
"rootWidget": {
"id": "root",
"type": "VerticalBox",
"children": [
{
"id": "titleText",
"type": "Text",
"style": { "fontSize": 28, "fontWeight": "Bold", "color": "#FFD84D" },
"content": { "text": "Welcome Back" }
},
{
"id": "loginBtn",
"type": "Button",
"style": { "normalColor": "#1a66cc", "hoveredColor": "#3388ff", "cornerRadius": 8 },
"content": { "text": "Login" },
"events": { "onClick": "OnLoginClicked" }
}
]
}
}Workflow
- LLM generates
.llmui— AI outputs JSON with your UI definition - Import in Editor — Window → LLMDynamicUI Panel → paste or import file
- Generate UMG — One click creates the Widget Blueprint
- Iterate — Modify JSON, regenerate, or export back to JSON for roundtrip editing
Build Verification
Before distributing or submitting to a marketplace:
Delete
Intermediate/,Binaries/,Build/,Saved/folders inside the plugin directoryRun a full rebuild from a clean Intermediate state:
UnrealBuildTool BuildPlugin -Plugin="path/to/LLMDynamicUI.uplugin" -Platform=Win64 -Configuration=DevelopmentConfirm zero errors and zero consequential warnings