unity-yooasset

Automate YooAsset bundle builds, collector configuration, and build report analysis in Unity.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-yooasset-pikachu0310
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-yooasset
Source: https://github.com/pikachu0310/codex-agent-ops-public/tree/main/.agents/skills/unity-skills/skills/yooasset
Command: npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-yooasset-pikachu0310

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing YooAsset hot-update packages in Unity involves repetitive Editor work: configuring collectors, running builds, and digging through build reports. This Skill automates those Editor-side tasks through validated API calls so you avoid manual window clicking and misconfigured parameters. ## Core Features & Use Cases - Build Pipeline Orchestration: Run ScriptableBuildPipeline or RawFileBuildPipeline builds, simulate EditorSimulateMode packages, and persist build settings. - Collector Configuration CRUD: Create and modify packages, groups, and collectors with validated rule class names, then save the AssetBundleCollectorSetting asset. - Build Report Analysis: Load .report files to list bundles and assets, inspect dependency graphs, compare two reports, and find unreferenced assets. - Use Case: After adding new UI assets, configure a collector group, run a simulated build to verify, execute the real LZ4-compressed build, then analyze the report for oversized bundles and orphan assets. ## Quick Start Ask the AI to check whether YooAsset is installed, then build the DefaultPackage with version 1.0.0 and list the largest bundles from the resulting build report.

Frequently Asked Questions about unity-yooasset

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

FAQPage Schema
How do I build YooAsset bundles from the Unity Editor?

Use yooasset_build_bundles with a packageName, packageVersion, and pipeline such as ScriptableBuildPipeline. Output is written to Bundles/<PackageName>/<Version>, and a .report file is generated alongside for later analysis.

How do I configure YooAsset collectors programmatically?

Create a package with yooasset_create_collector_package, add groups, then attach collectors with yooasset_add_collector using rule class names like AddressByFileName and PackDirectory. Finish with yooasset_save_collector_config to persist the settings asset.

Which YooAsset versions are supported?

The module targets YooAsset 2.3.18 and requires a minimum of 2.3.15, enforced by asmdef version defines. Earlier versions use an incompatible manifest format and will not compile against this module.

Why does every YooAsset skill return a NoYooAsset error?

All skills except yooasset_check_installed require the YOO_ASSET compile define, which only exists when the package is installed. Install or upgrade com.tuyoogame.yooasset, let Unity recompile, then retry.

Can I analyze a YooAsset build report without rebuilding?

Yes. yooasset_load_build_report and the report listing skills read the .report file standalone, so you can point them at any archived copy to inspect bundles, assets, dependency graphs, and unreferenced assets.