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."