unity-build-release

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Unity Build Release

Unity Build Release

Purpose

用途

Run Unity builds, CI, and release packaging with reproducible configuration and platform-aware checks.
通过可复现的配置和平台感知检查运行Unity构建、CI及发布打包流程。

Use When

使用场景

  • shipping Unity builds
  • CI is fragile
  • platform-specific build issues are frequent
  • 交付Unity构建版本时
  • CI流程不稳定时
  • 平台特定构建问题频发时

Inputs

输入项

  • target platforms
  • build configs
  • package state
  • release checklist
  • 目标平台
  • 构建配置
  • 包状态
  • 发布检查清单

Process

流程

  1. script build entry points and environment setup
  2. capture Unity version, platform target, defines, and package state in logs
  3. validate scenes, Addressables, localization, and platform assets before release candidates
  4. treat each platform as its own risk surface
  5. tie build output to release readiness
  1. 编写构建入口脚本并完成环境配置
  2. 在日志中记录Unity版本、目标平台、预定义宏及包状态
  3. 在生成发布候选版本前,验证场景、Addressables、本地化内容及平台资源
  4. 将每个平台视为独立的风险面
  5. 将构建输出与发布就绪状态关联

Outputs

输出项

  • Unity build pipeline notes
  • platform risk list
  • artifact and log expectations
  • release validation targets
  • Unity构建流程说明
  • 平台风险清单
  • 产物与日志预期
  • 发布验证目标

Quality Bar

质量标准

  • respects Unity lifecycle, serialization, and content authoring realities
  • keeps editor/runtime/test boundaries clean
  • prevents scene, prefab, and package complexity from becoming hidden architecture
  • 遵循Unity生命周期、序列化及内容创作的实际规则
  • 保持编辑器/运行时/测试环境的边界清晰
  • 避免场景、预制件及包的复杂度演变为隐性架构问题

Common Failure Modes

常见失败模式

  • inspector wiring being the only source of truth
  • overusing MonoBehaviours or scene setup as architecture
  • package or scene drift reaching release without review
  • Inspector连线作为唯一可信来源
  • 过度使用MonoBehaviours或场景设置作为架构实现方式
  • 包或场景的变更未经审核就进入发布阶段

Related Agents

相关Agent

  • unity-build-resolver
  • build-engineer
  • release-manager
  • unity-build-resolver
  • build-engineer
  • release-manager

Related Commands

相关命令

  • unity-build-fix
  • release-check
  • verify
  • unity-build-fix
  • release-check
  • verify

Notes

注意事项

  • Keep this skill aligned with the relevant rules layer and current project documentation.
  • If engine-specific constraints materially change the workflow, hand off to the matching engine skill or engine-specific reviewer.
  • 确保此Skill与相关规则层及当前项目文档保持一致。
  • 如果引擎特定约束对工作流产生重大影响,移交至匹配的引擎Skill或引擎特定审核人员处理。