unity-debug

Diagnose Unity compilation and runtime errors with structured console logs and stack traces.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Yuan-Zzzz/FrogRE --skill unity-debug-yuan-zzzz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-debug
Source: https://github.com/Yuan-Zzzz/FrogRE/tree/main/.codex/skills/unity-skills/skills/debug
Command: npx skills add https://github.com/Yuan-Zzzz/FrogRE --skill unity-debug-yuan-zzzz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes Unity editor diagnostics to rapidly identify compilation errors, runtime exceptions, assembly and scripting-define configuration issues, and memory or system-state problems that block development or CI pipelines.

Core Features & Use Cases

  • Filtered Console Retrieval: Fetch console logs filtered by type and content to isolate Errors, Warnings, or Logs.
  • Compilation and Assembly Checks: Detect compilation failures, retrieve assembly information, and force script recompilation.
  • Runtime Diagnostics and Memory Info: Obtain stack traces for specific log entries and detailed memory and system metrics.
  • Define Management: Read and set scripting define symbols for the current platform, with awareness of server availability and domain reload implications.
  • Use Case: After a CI Unity build failure, run a compilation check, pull the latest error logs, inspect stack traces and assemblies, adjust scripting defines if needed, and trigger a forced recompile.

Quick Start

Request a compilation check and fetch the latest console error logs and system info.

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 error logs filtered by type and content?

To retrieve Unity console logs, use the Skill to fetch filtered entries by type and content. This isolates Errors, Warnings, or Logs, returning structured results suitable for diagnosing runtime exceptions and automated reporting.

How can I diagnose Unity compilation failures in a CI environment?

Diagnose Unity compilation failures in CI by running a compilation check to detect errors, pulling the latest console logs, and inspecting assembly information. The Skill returns structured error lists and assembly data for automated build pipelines.

Can I read and set Unity scripting define symbols for the current platform?

Yes, you can read and set Unity scripting define symbols for the current platform. The Skill manages define symbols with awareness of server availability and domain reload implications, returning updated configuration data.

How do I get stack traces for specific Unity runtime exceptions?

To get stack traces for Unity runtime exceptions, use the Skill to obtain detailed stack traces by specific log entry index. This provides structured diagnostic information to pinpoint the exact origin of console exceptions.

Does this Skill work for querying Unity memory and system metrics during development?

Yes, this Skill works for querying Unity memory and system metrics during development. It retrieves detailed memory and system-state information, returning structured metrics suitable for automated reporting and CI pipelines.

What is the best way to force script recompilation in the Unity Editor?

The best way to force script recompilation in the Unity Editor is using the Skill's forced recompile control feature. It triggers recompilation and returns status updates, useful for resolving assembly and scripting-define configuration issues.