unity-debug

Retrieve structured Unity diagnostic outputs including console errors and compilation state.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you quickly pinpoint what’s broken in a Unity project by collecting compile state, console errors/warnings, stack traces, assembly info, scripting define symbols, memory usage, and editor/system health in a structured way.

Core Features & Use Cases

  • Editor health triage first: Run an aggregated snapshot to combine console errors, compilation status, server stats, and recent workflow/jobs into one response so you don’t chain many manual checks.
  • Targeted debugging artifacts: Retrieve filtered console logs/errors, check compilation status, pull stack traces for specific log entries, and inspect assembly and scripting define state.
  • Operational diagnostics for performance: Measure memory usage (including Mono heap/usage) and gather Unity/system environment info to isolate runtime or editor-side issues.

Quick Start

Ask the AI: "Run unity_diagnose to summarize current Unity health, then use debug_get_errors to list the top active errors."

Frequently Asked Questions about unity-debug

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

FAQPage Schema
How do I retrieve Unity console errors and stack traces for debugging?

You retrieve Unity console errors and stack traces by requesting filtered console logs and pulling specific stack trace entries. This diagnostic process provides structured outputs of current errors and warnings to isolate code issues.

What is the best way to check Unity compilation status and scripting defines?

Checking Unity compilation status and scripting defines involves inspecting assembly information and scripting define symbols. This verifies environment configuration and helps isolate compilation problems across different editor sessions.

How do I diagnose Unity editor health and memory usage during failing builds?

Diagnose Unity editor health and memory usage by running an aggregated snapshot that combines server stats, Mono heap usage, and compilation state. This measures runtime performance to isolate editor-side issues during failing builds.

Can I limit the number of console logs retrieved when debugging Unity DOTS issues?

Yes, you can limit console logs retrieved during Unity DOTS debugging. The diagnostic retrieval supports configurable error and log limits, alongside optional inclusion of warnings, to provide focused structured outputs.

Why does my Unity project fail to compile after changing scripting define symbols?

Unity compilation failures after changing scripting define symbols often stem from environment or config problems. Inspect assembly info and scripting define state to deterministically isolate compilation issues across sessions.