Orion python blueprint assets

From OrionUE/Orion_FreeEdition · View interactive version

Orion python blueprint assets is an AI agent skill from the GitHub repository OrionUE/Orion_FreeEdition. Use when creating, updating, saving, or validating Unreal Blueprint/DataAsset/Widget Blueprint assets through UnrealEditor-Cmd Python, especially when UE MCP or UMGToolSet is unavailable, returns HTTP 502, lacks a needed asset tool, or when command-line asset automation must handle generated_class,

How to use this skill

Skill file

Unreal Python Blueprint Assets

本 Skill 记录 UE 5.8 项目里用 UnrealEditor-Cmd -run=pythonscript 创建、配置、保存和验证 Blueprint 类资产的兜底流程。优先使用 MCP/Toolset;当 MCP 不可用或缺少安全资产编辑面时,再用本流程。

工作流

  1. 先读取 ../orion-asset-management/SKILL.md,确认资产路径和命名。
  2. 如果是 UMG/Widget Blueprint,再读取 ../orion-umg/SKILL.md;如果是 MCP 失败后的兜底,再读取 ../orion-mcp-workflow/SKILL.md。
  3. 把临时 Python 放到 Saved/OrionUE/Agents,不要放进正式 Source 或 Content。
  4. 用 UnrealEditor-Cmd.exe <Project>.uproject -run=pythonscript -script=<script.py> -unattended -nop4 -nosplash -NullRHI -NoSound -NoLiveCoding 执行。
  5. 保存后验证 .uasset 落盘、日志存在 Compiling Blueprint / Saving Package / Python script executed successfully,必要时再用二进制文本搜索确认关键默认值。

路由

详细步骤、脚本模板和已验证坑位见:

references/orion-python-blueprint-assets.zh-CN.md

关键约束

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.