UN

Tools for troubleshooting Unity errors, managing re-compilation, and diagnosing system issues.

Install

mkdir -p .claude/skills/unity-debug && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12935" && unzip -o skill.zip -d .claude/skills/unity-debug && rm skill.zip

Installs to .claude/skills/unity-debug

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Debug and diagnostics. Use when users want to check compilation errors, get system info, or debug issues. Triggers: debug, error, compilation, recompile, system info, diagnostics, Unity调试, Unity编译错误, Unity诊断.
208 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Get console logs filtered by type and content
  • Retrieve only active errors and exceptions
  • Check for compilation errors
  • Force Unity to recompile all scripts
  • Get system and Unity environment information
  • Retrieve stack traces for log entries

How it works

The skill provides specific commands to query Unity's console for logs and errors, check compilation status, force script recompilation, and retrieve system information.

Inputs & outputs

You give it
a request for Unity debug information or action
You get back
console logs, error lists, compilation status, system info, or recompiled scripts

When to use unity-debug

  • Debug compilation errors
  • Get console logs
  • Force recompile scripts
  • Check system diagnostics

About this skill

Debug Skills

Debug utilities for error checking and diagnostics.

Guardrails

Mode: Semi-Auto (available by default)

DO NOT (common hallucinations):

  • debug_compile / debug_recompile do not exist → use debug_force_recompile
  • debug_run does not exist → use editor_play (editor module)
  • debug_clear does not exist → use console_clear (console module)
  • debug_set_defines triggers Domain Reload — server will be temporarily unavailable

Routing:

  • For runtime console logs → use console module's console_get_logs / console_start_capture
  • For play mode control → use editor module
  • For script compile feedback → use script module's script_get_compile_feedback

Skills

debug_get_logs

Get console logs filtered by type and content. Parameters:

  • type (string, optional): Filter by type (Error/Warning/Log). Default: Error.
  • filter (string, optional): Filter by content.
  • limit (int, optional): Max entries. Default: 50.

debug_get_errors

Get only active errors and exceptions from console. Parameters:

  • limit (int, optional): Max entries. Default: 50.

debug_check_compilation

Check if there are any compilation errors. Parameters: None.

debug_force_recompile

Force Unity to recompile all scripts. Parameters: None.

debug_get_system_info

Get system and Unity environment information. Parameters: None.

debug_get_stack_trace

Get stack trace for a log entry by index.

ParameterTypeRequiredDefaultDescription
entryIndexintYes-Index of the log entry to retrieve stack trace for

Returns: { index, message, stackTrace }

debug_get_assembly_info

Get project assembly information.

Parameters: None.

Returns: { success, count, assemblies }

debug_get_defines

Get scripting define symbols for current platform.

Parameters: None.

Returns: { success, buildTargetGroup, defines }

debug_set_defines

Set scripting define symbols for current platform.

ParameterTypeRequiredDefaultDescription
definesstringYes-Scripting define symbols to set

Returns: { success, buildTargetGroup, defines, serverAvailability }

debug_get_memory_info

Get memory usage information.

Parameters: None.

Returns: { success, totalAllocatedMB, totalReservedMB, totalUnusedReservedMB, monoUsedSizeMB, monoHeapSizeMB }

When not to use it

  • When using `debug_compile` or `debug_recompile` (they do not exist)
  • When using `debug_run` (it does not exist)
  • When using `debug_clear` (it does not exist)

Limitations

  • `debug_set_defines` triggers Domain Reload, temporarily making the server unavailable
  • The skill does not control play mode; use the `editor` module
  • The skill does not provide runtime console logs; use the `console` module

How it compares

This workflow offers direct commands for specific Unity debugging tasks, providing targeted diagnostics unlike general log inspection or manual recompilation.

Compared to similar skills

unity-debug side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
unity-debug (this skill)04moNo flagsBeginner
python-testing-patterns772moReviewIntermediate
chrome-devtools417moReviewIntermediate
bats97moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

python-testing-patterns

wshobson

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

77204

chrome-devtools

mrgoonie

Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.

41157

bats

OleksandrKucherenko

Bash Automated Testing System (BATS) for TDD-style testing of shell scripts. Use when: (1) Writing unit or integration tests for Bash scripts, (2) Testing CLI tools or shell functions, (3) Setting up test infrastructure with setup/teardown hooks, (4) Mocking external commands (curl, git, docker), (5) Generating JUnit reports for CI/CD, (6) Debugging test failures or flaky tests, (7) Implementing test-driven development for shell scripts.

991

browser-daemon

noiv

Persistent browser automation via Playwright daemon. Keep a browser window open and send it commands (navigate, execute JS, inspect console). Perfect for interactive debugging, development, and testing web applications. Use when you need to interact with a browser repeatedly without opening/closing it.

587

performance-profiling

davila7

Performance profiling principles. Measurement, analysis, and optimization techniques.

633

obsidian-local-dev-loop

jeremylongshore

Configure Obsidian plugin development with hot-reload and fast iteration. Use when setting up development workflow, configuring test vaults, or establishing a rapid development cycle. Trigger with phrases like "obsidian dev loop", "obsidian hot reload", "obsidian development workflow", "develop obsidian plugin".

328

Search skills

Search the agent skills registry