unity-investigation

Collect Unity compilation, scene, log, and performance evidence for bug investigation.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-investigation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-investigation
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/investigation
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-investigation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity debugging often stalls when the cause is split across compilation issues, missing references, runtime log errors, and unclear scene state; this skill consolidates the evidence-gathering workflow so investigations start with the most reliable signals.

Core Features & Use Cases

  • Investigation priority workflow: Starts with workspace knowledge and CRG tracing before moving to REST-based evidence, reducing wasted calls and incorrect assumptions.
  • Aggregated Unity diagnostic snapshot (read-only): Performs an initial health check using a single REST call to quickly reveal compilation/play-mode/scene error signals.
  • Targeted evidence modules: Collects compilation diagnostics, captured logs, scene structure, performance snapshots, and validation findings for missing scripts/references and shader/scene/project hygiene.
  • ECS-aware guidance: Provides explicit investigation notes for how to proceed when ECS runtime state is not directly inspectable via REST.

Use cases: debugging compile-time failures, resolving NullReferenceException-like symptoms from missing scripts/assets, diagnosing scene/authoring problems, and capturing profiler-style performance evidence for regression analysis.

Quick Start

Run the unity-investigation skill to diagnose a Unity issue by first retrieving the aggregated health snapshot, then checking compilation diagnostics, and only afterward collecting targeted logs, scene evidence, or validation results as needed.

Frequently Asked Questions about unity-investigation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose Unity compilation errors and missing references efficiently?

Diagnose Unity compilation errors and missing references by retrieving an aggregated health snapshot first, then checking compilation diagnostics and validation findings to pinpoint the root cause quickly.

What is the best way to investigate NullReferenceException symptoms in Unity scenes?

Investigate NullReferenceException symptoms by collecting scene state evidence and validation findings through targeted REST calls, which reveal missing scripts or broken asset references.

How do I debug Unity DOTS and ECS projects when runtime state is not inspectable?

Debug Unity DOTS and ECS projects by applying ECS-aware guidance, using workspace knowledge and code review graph tracing to infer runtime state when direct REST inspection is unavailable.

Can I capture profiler snapshots for Unity performance regression analysis using this workflow?

Capture profiler snapshots for Unity performance regression analysis by collecting performance evidence modules after completing the initial workspace health check and compilation diagnostics.

Does Unity debugging work without manually checking logs and scene hierarchy separately?

Unity debugging works without manual checks by consolidating evidence-gathering into a prioritized workflow, aggregating logs, scene structure, and compile status into a single diagnostic view.

Why should I trace code review graphs before making REST calls for Unity bug investigation?

Trace code review graphs before making REST calls to establish workspace knowledge, reducing wasted API requests and preventing incorrect assumptions during Unity bug investigation.