unity-validation

Validate Unity project and scene integrity by detecting missing scripts, broken references, and oversized textures.

2|Updated May 18, 2026
One-click install
npx skills add https://github.com/pcone-mm/NewFPG --skill unity-validation-pcone-mm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-validation
Source: https://github.com/pcone-mm/NewFPG/tree/main/.agents/skills/unity-skills/skills/validation
Command: npx skills add https://github.com/pcone-mm/NewFPG --skill unity-validation-pcone-mm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Unity projects accumulate integrity issues over time—missing script references, broken object links, empty folders, oversized textures, and shader errors—that cause runtime failures and failed builds. This Skill scans scenes and project assets to surface these problems before they reach production. ## Core Features & Use Cases - Scene & Project Validation: Run comprehensive checks for missing scripts, missing prefabs, duplicate names, null component references, non-convex MeshColliders, and shader compilation errors. - Safe Cleanup with Dry-Run Preview: Remove missing script components and empty folders with dryRun=true preview by default, so destructive deletions only happen after explicit review. - Asset Health Audits: Find potentially unused assets and oversized textures to keep builds lean. - Use Case: Before a release build, run validate_scene and validate_texture_sizes to catch integrity issues, preview validate_fix_missing_scripts with dryRun, then apply fixes only after reviewing the report. ## Quick Start Ask the AI to validate the current Unity scene for missing scripts and broken references, then preview cleanup of empty folders with dry run enabled.

Frequently Asked Questions about unity-validation

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

FAQPage Schema
How do I find missing scripts in a Unity scene?

Use the validate_find_missing_scripts skill to scan the active scene and prefab assets for objects with missing script references. It returns each object's path and missing count, and you can then preview removal with validate_fix_missing_scripts using dryRun=true.

How to check a Unity project for broken references before a build?

Run validate_scene for a comprehensive check covering missing scripts, missing prefabs, and duplicate names, plus validate_missing_references for null component fields. Combine with validate_texture_sizes and validate_shader_errors for a full pre-build audit.

Can I safely delete empty folders in Unity Assets?

Yes, validate_cleanup_empty_folders removes empty folders starting from a root path, but it defaults to dryRun=true so you preview the folder list first. Actual deletion requires dryRun=false and is blocked in semi-auto approval modes unless explicitly allowed.

Does this skill fix compile errors or unused assets automatically?

No, validation skills only report issues. For compile errors use the debug module's debug_check_compilation, and for unused asset cleanup or missing script fixes use the cleaner module instead.

Why does validate_fix_missing_scripts not delete anything?

The skill defaults to dryRun=true, which only previews what would be removed. Additionally, delete-class skills are intercepted in Approval and Auto modes and require Bypass mode or an allowlist entry to execute with dryRun=false.