Game build log triage

From akillness/jeo-skills · View interactive version

Game build log triage is an AI agent skill from the GitHub repository akillness/jeo-skills. Triage Unity and Unreal Engine editor, build, package, cook, compile, and CI logs into the first actionable failure, likely subsystem, and next debugging steps. Use when a game project fails to build, cook, package, import assets, compile scripts/code, or throws noisy editor/runtime errors, even if

How to use this skill

Skill file

Game Build Log Triage

Use this skill to turn noisy Unity and Unreal logs into a short, prioritized debugging brief.

The goal is not to explain every line. The goal is to find the first non-cascading failure, identify the most likely subsystem, and tell the user what to inspect next.

Read references/engine-patterns.md before classifying unfamiliar engine-specific errors.

If the user is not asking about one failing log but about repeated CI instability, cache policy, packaging workflow shape, or release automation for Unity/Unreal projects, route that broader workflow design work to game-ci-cd-pipeline after or alongside this triage.

When to use this skill

Instructions

Step 1: Confirm the engine and log scope

  1. Detect whether the material is mainly Unity, Unreal, or mixed/unknown.
  2. Record the log source when visible:
  1. Identify the time window or failing command if present.
  2. If the log is huge, focus first on:

Step 2: Find the first actionable failure

Work top-down and separate root-cause candidates from cascade noise.

Use this decision order:

  1. Hard stop / fatal line — first line that clearly aborts the run
  2. Configuration or dependency blocker — missing module, SDK, package, plugin, target, or assembly definition
  3. Compile/reflection blocker — C# compiler error, UHT/UBT error, macro/reflection issue, missing symbol, duplicate class, circular dependency
  4. Asset/reference blocker — missing asset, redirector fallout, GUID/meta mismatch, bad import, broken prefab/Blueprint reference
  5. Environment/platform blocker — Android/iOS/console SDK issue, signing/provisioning, toolchain path, unsupported target
  6. Secondary noise — repeated exceptions, retries, or downstream "could not complete" messages

Do not summarize 20 symptoms as if they are 20 causes.

Step 3: Classify the failure bucket

Map the log to one primary bucket and optional secondary bucket.

Primary buckets

Typical Unity mappings

Typical Unreal mappings

Step 4: Produce the triage brief

Return a concise report with this exact structure:

# Game Log Triage

## Engine
- Unity | Unreal | Mixed/Unknown

## Log scope
- Source: ...
- Failing command/stage: ...
- Confidence: high | medium | low

## First actionable failure
- Line or excerpt: `...`
- Why it matters: ...
- Why later errors look secondary: ...

## Classification
- Primary bucket: ...
- Secondary bucket: ...

## Most likely root cause
- 1-3 sentence explanation grounded in the log

## Next checks
1. ...
2. ...
3. ...

## Files / settings to inspect
- ...
- ...
- ...

## Safe follow-up commands

optional read-only inspection commands only


## What not to do yet
- Avoid shotgun cleanup or broad asset deletion until the primary blocker is verified

Step 5: Tailor the next checks to the engine

For Unity, prefer checks like:

For Unreal, prefer checks like:

Step 6: Escalate carefully when evidence is weak

If the log excerpt is too short or starts mid-cascade:

  1. Say that confidence is low.
  2. Ask for the earliest error cluster or the failing command section.
  3. List the minimum extra context required:

Do not pretend certainty from a truncated excerpt.

Output format

Always return a short debugging brief, not a stream-of-consciousness analysis.

Required qualities:

Examples

Example 1: Unity compile + package drift

Input

Unity build failed after we updated a package. The log shows CS0246: The type or namespace name 'InputSystem' could not be found and then dozens of NullReferenceException lines.

Output sketch

1. confirm Packages/manifest.json still includes the Input System package

2. inspect asmdef references for the affected assembly

3. verify scripting define symbols or package migration notes

Example 2: Unreal cook failure after asset moves

Input

Unreal cook started failing after we renamed folders. The log shows Cook failed and multiple missing asset warnings.

Output sketch

1. inspect moved asset paths and redirectors

2. run a read-only audit of referenced missing assets from the log

3. verify whether plugin/content paths changed with the rename

Example 3: Unreal UHT blocker

Input

CI says UnrealHeaderTool failed after a refactor.

Output sketch

1. inspect the referenced header and macro usage

2. compare recent renamed classes or moved modules

3. verify generated-code dependencies in the owning module

Best practices

  1. Lead with the earliest blocker — game-engine logs cascade badly.
  2. Name the subsystem — compile, reflection, asset/reference, plugin/config, or platform SDK.
  3. Prefer specific inspection targets over generic advice like "rebuild everything."
  4. Keep remediation safe-first — read-only commands and targeted checks before destructive cleanup.
  5. Treat asset moves as high-suspicion events in both engines.
  6. Explain confidence when the excerpt is partial or noisy.
  7. Use engine language the team already uses: asmdef, GUID/meta, UBT/UHT, redirectors, BuildCookRun, etc.

References

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.