unity-yooasset

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

Updated Aug 18, 2026
One-click install
npx skills add https://github.com/ethanJPope/Our-Main-Hackathon-Game --skill unity-yooasset-ethanjpope
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-yooasset
Source: https://github.com/ethanJPope/Our-Main-Hackathon-Game/tree/main/.agents/skills/unity-skills/skills/yooasset
Command: npx skills add https://github.com/ethanJPope/Our-Main-Hackathon-Game --skill unity-yooasset-ethanjpope

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing YooAsset hot-update pipelines in Unity involves repetitive Editor work: configuring AssetBundle Collector packages and rules, 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 collectors. ## Core Features & Use Cases - Build Pipeline Orchestration: Run ScriptableBuildPipeline or RawFileBuildPipeline builds, simulate EditorSimulateMode builds, and persist build settings per package. - Collector Configuration CRUD: Create and modify packages, groups, and collectors with validated rule class names, then save or batch changes. - Build Report Analysis: Load .report files to list bundles and assets, inspect dependency graphs, compare two reports, and find unreferenced assets. - Runtime Validation: Launch async PlayMode jobs that initialize EditorSimulateMode, test asset loading, and poll results. - Use Case: After adding new UI assets, create a collector group, run a simulated build to verify packing, execute the real build, then compare the new report against the previous one to confirm bundle size changes. ## Quick Start Ask the AI to check whether YooAsset is installed, then build the DefaultPackage bundles with LZ4 compression and analyze 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?

Call yooasset_build_bundles with a packageName and pipeline such as ScriptableBuildPipeline, optionally setting compression, fileNameStyle, and packageVersion. Output is written to the project's Bundles directory, and a .report file is generated alongside for analysis.

How do I configure YooAsset AssetBundle Collector packages and rules?

Use yooasset_create_collector_package, yooasset_create_collector_group, and yooasset_add_collector with rule class names discovered via yooasset_list_collector_rules. Batch edits with save=false and finish with yooasset_save_collector_config.

Which YooAsset versions are supported by this automation?

YooAsset 2.3.15 is the minimum, validated against 2.3.18, on Unity 2022.3 or later. Earlier versions use an incompatible manifest format, and users on 2.3.15 or 2.3.16 should upgrade before relying on build result verification due to a CRC bug fixed in 2.3.17.

Why do YooAsset skills return a NoYooAsset error?

Every skill except yooasset_check_installed requires the com.tuyoogame.yooasset package and its compile define. Install or upgrade the package through Package Manager, let Unity recompile, then retry the call.

Can I analyze YooAsset build reports to find unused assets?

Yes, load the .report file with yooasset_load_build_report, then use yooasset_list_independ_assets to find assets not referenced by any main asset. You can also compare two reports with yooasset_compare_build_reports to track size changes.