unity-optimization

Compress Unity textures, meshes, and audio to reduce memory usage.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-optimization-lrbjk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-optimization
Source: https://github.com/lrbjk/FenShen_Remake_V0/tree/main/.codex/skills/unity-skills/skills/optimization
Command: npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-optimization-lrbjk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Projects with unoptimized textures, meshes, audio, and scene settings often suffer from large build sizes, long load times, and poor runtime performance; this Skill provides targeted analysis and batchable fixes to reduce memory use, lower draw calls, and improve framerate stability. It enforces review-before-apply guardrails for automated runs and routes profiler or advisory tasks to specialized modules when needed.

Core Features & Use Cases

  • Texture Optimization: Batch-adjust max size, compression (including crunch), and quality to shrink build size and GPU memory usage.
  • Mesh & Audio Compression: Apply mesh compression levels and audio compression/load-type changes to reduce CPU and storage overhead.
  • Scene Analysis & Flags: Detect high-poly renderers, excessive material slots, overdraw, and set static flags or LOD groups to improve batching and culling.
  • Asset Discovery: Find large assets and duplicate materials to prioritize manual review and consolidation.
  • Use Case: Prepare a release build by compressing textures and meshes, setting static flags on static geometry, and removing duplicate materials to lower build size and raise frame rates.

Quick Start

Run optimize_textures with maxTextureSize 1024 and enableCrunch true to compress and resize large textures across the project.

Frequently Asked Questions about unity-optimization

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

FAQPage Schema
How do I batch compress Unity textures to reduce build size?

Batch compress Unity textures by applying crunch compression and adjusting max texture size limits across the project to shrink build size and lower GPU memory usage.

What's the best way to optimize Unity meshes and audio for runtime performance?

Optimize Unity meshes and audio by applying mesh compression levels and changing audio load types to reduce CPU overhead and storage requirements during runtime execution.

Can I set static flags and configure LOD groups for Unity scene batching?

Set static flags and configure LOD groups on Unity scene geometry to improve draw call batching and culling for better framerate stability.

How do I find large Unity assets and duplicate materials for manual review?

Discover large Unity assets and duplicate materials using configurable threshold analysis to prioritize manual review and material consolidation.

Does Unity optimization work for high-poly meshes and excessive material slots?

Unity optimization detects high-poly renderers and excessive material slots through scene analysis to identify overdraw and batching bottlenecks.

Why does Unity texture crunch compression lower memory usage?

Unity texture crunch compression lowers memory usage by applying lossy compression algorithms that significantly reduce GPU memory footprint while maintaining acceptable visual quality.