unity-debug
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.zipInstalls 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诊断.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
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_recompiledo not exist → usedebug_force_recompiledebug_rundoes not exist → useeditor_play(editor module)debug_cleardoes not exist → useconsole_clear(console module)debug_set_definestriggers Domain Reload — server will be temporarily unavailable
Routing:
- For runtime console logs → use
consolemodule'sconsole_get_logs/console_start_capture - For play mode control → use
editormodule - For script compile feedback → use
scriptmodule'sscript_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.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| entryIndex | int | Yes | - | 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.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| defines | string | Yes | - | 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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| unity-debug (this skill) | 0 | 4mo | No flags | Beginner |
| python-testing-patterns | 77 | 2mo | Review | Intermediate |
| chrome-devtools | 41 | 7mo | Review | Intermediate |
| bats | 9 | 7mo | Review | Intermediate |
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.
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.
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.
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.
performance-profiling
davila7
Performance profiling principles. Measurement, analysis, and optimization techniques.
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".