unity-yooasset-design

Enforce YooAsset v2.3.18 API sequencing and handle release rules.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-yooasset-design-dycuong03
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-yooasset-design
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/unity-skills/skills/yooasset-design
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-yooasset-design-dycuong03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents engineers from misusing YooAsset v2.3.18 APIs by grounding implementation decisions in source-anchored design rules, including correct PlayMode wiring and mandatory handle release discipline.

Core Features & Use Cases

  • Source-anchored API correctness: enforces the correct initialization and patch/update sequencing so code matches YooAsset v2.3.18 behavior.
  • PlayMode and parameters alignment: ensures ResourcePackage.InitializeAsync uses the correct InitializeParameters subclass for the intended mode (EditorSimulate, Offline, Host, Web, Custom) with platform guards.
  • Safe asset lifecycle management: standardizes loading handle release for AssetHandle, SubAssetsHandle, AllAssetsHandle, RawFileHandle, and SceneHandle to avoid bundle/refcount leaks.
  • Build and CDN pipeline sanity: guides correct AssetBundleBuilder/AssetBundleCollector usage and correct filesystem/decryption/remote-service wiring for runtime loading and updates.

Quick Start

Load this module before writing YooAsset code, then ask: "Generate a YooAsset v2.3.18 initialization and patch-download template for my target PlayMode, explicitly releasing every handle."

Frequently Asked Questions about unity-yooasset-design

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

FAQPage Schema
How do I fix YooAsset resource leaks from unreleased handles?▼

To fix YooAsset resource leaks, you must mandatorily Release or Dispose all handle types, including AssetHandle, SubAssetsHandle, AllAssetsHandle, RawFileHandle, and SceneHandle, to prevent bundle and refcount leaks.

How do I correctly initialize YooAsset for different PlayModes?▼

To correctly initialize YooAsset, ensure ResourcePackage.InitializeAsync uses the exact InitializeParameters subclass for your intended mode, applying strict platform guards for EditorSimulateMode and WebPlayMode.

What is the correct sequencing for a YooAsset patch update flow?▼

The correct YooAsset patch update flow requires source-anchored sequencing: version check, manifest update, downloader creation, and finally download execution, with correct delegate assignment semantics for downloader callbacks.

How do I configure AssetBundleBuilder and AssetBundleCollector for CDN delivery?▼

To configure CDN delivery, guide correct AssetBundleBuilder and AssetBundleCollector usage by properly wiring filesystem, decryption, and remote-service settings for runtime loading and updates.

Why is my YooAsset code calling hallucinated or outdated method calls?▼

YooAsset code calls hallucinated or outdated methods when implementation decisions are not grounded in source-anchored design rules, causing mismatched API behavior for the v2.3.18 framework.

Can I use YooAsset WebPlayMode without platform constraints?▼

No, you cannot use YooAsset WebPlayMode without platform constraints; the Skill enforces strict platform guards during initialization to ensure correct runtime behavior across different environments.