unity-debug

Diagnose Unity build issues and retrieve system diagnostics.

1|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-debug-stardust-liu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-debug
Source: https://github.com/Stardust-liu/EDC_Framework/tree/main/Assets/AI/Unity-Skills-1.5.5/unity-skills/skills/debug
Command: npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-debug-stardust-liu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debugging Unity issues can be time-consuming due to scattered logs and unclear errors. This Skill centralizes diagnostic utilities to quickly identify compilation issues, fetch system information, and surface runtime logs.

Core Features & Use Cases

  • Debug utilities for error checking and diagnostics (debug_log).
  • Log retrieval (debug_get_logs) with type/content filters and limits.
  • Error extraction (debug_get_errors) for active issues.
  • Compilation checks (debug_check_compilation) to surface build problems.
  • Forced recompilation (debug_force_recompile) to refresh scripts.
  • System info (debug_get_system_info) for environment details.

Quick Start

Ask unity-debug to run a system information check and surface any recent compilation 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 filtered Unity runtime logs and errors for debugging?

Unity runtime logs and errors are retrieved using dedicated diagnostic functions that fetch filtered entries and extract active issues based on type, content, and limits. This centralizes scattered logs to accelerate debugging.

How can I check my Unity project's compilation status and force a recompile?

You can check your Unity project's compilation status by running a compilation check to surface build problems. If scripts are stale, you can trigger a forced recompile to refresh them and clear build errors.

What is the best way to diagnose Unity build issues and environment configuration problems?

Diagnosing Unity build issues and environment configuration problems is best handled by centralizing diagnostic utilities to surface compilation errors and fetch system information. This quickly identifies build problems across multiple Unity projects.

Does this Unity debugging approach work for troubleshooting compilation errors across multiple projects?

Yes, this Unity debugging approach works for troubleshooting compilation errors and runtime issues across multiple projects. It retrieves system info and checks compilation status to identify environment configuration problems effectively.

Why are my Unity scripts not compiling, and how do I surface the build problems?

If your Unity scripts are not compiling, you can surface the build problems by running a compilation check. This diagnostic utility identifies compilation errors and lets you force a recompile to refresh the scripts.

How do I get Unity system information to troubleshoot environment configuration issues?

To get Unity system information for troubleshooting environment configuration issues, you run a system information check. This fetches environment details to help identify mismatches causing runtime issues or compilation failures.