Loading...
Loading...
Source-anchored design rules for YooAsset v2.3.18
npx skill4agent add besty0728/unity-skills unity-yooasset-designBefore calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.GET /skills/recommend?includeSchema=true
Assets/YooAsset/Mode: Documentation only — no REST skills to gate; load freely under any operating mode (Approval / Auto / Bypass).
YooAssets.Initialize()CreatePackage()Destroy()YooAssets.SetDefaultPackage(...)YooAssets.LoadAssetAsync(...)YooAssets.CreateResourceDownloader(...)ResourcePackage.InitializeAsync(...)EPlayModeLoadAssetSync/AsyncLoadSubAssetsAsyncLoadAllAssetsAsyncLoadRawFileAsyncLoadSceneAsyncHandleRequestPackageVersionAsync → UpdatePackageManifestAsync → CreateResourceDownloader → BeginDownloadFileSystemParametersIDecryptionServicesIRemoteServicesIWebDecryptionServicesAssetBundleBuilder.Run(...)AssetBundleCollectorEOperationStatusEFileClearModePackageDetails| # | Rule | Source anchor |
|---|---|---|
| 1 | Call | |
| 2 | | |
| 3 | | |
| 4 | Every | |
| 5 | | |
| 6 | YooAsset 2.3.18 includes default-package static shortcuts on | |
| 7 | | |
| 8 | Before | |
| 9 | Downloader callbacks ( | |
| 10 | | |
| 11 | The patch flow is strictly ordered: | |
| Sub-doc | When to read |
|---|---|
| INIT.md | |
| PLAYMODE.md | All 5 |
| HANDLES.md | |
| LOADING.md | |
| UPDATE.md | Patch flow, |
| FILESYSTEM.md | |
| BUILD.md | |
| PITFALLS.md | 30 concrete hallucination pitfalls + legacy API migration section |
UNPACK_FILE_SYSTEM_ROOTEFileClearMode.ClearBundleFilesByLocationsRawFileBuildParameters.IncludePathInHashAssetBundletimeoutDOWNLOAD_WATCH_DOG_TIMEIFilterRuleFindAssetTypeFILE_VERIFY_MAX_CONCURRENCYStripUnityVersionUseWeakReferenceHandleYOOASSET_EXPERIMENTALAssets/YooAsset/CHANGELOG.md:5-275| Legacy API (pre-2.3.18) | Status in 2.3.18 | Replacement | Source |
|---|---|---|---|
| Removed in 2.3.16 | Assign | |
| Breaking change in 2.3.16 — compilation breaks | Implement | |
| Old manifest binary (pre-2.3.15 client reading a 2.3.15+ manifest, or vice versa) | Wire-incompatible | Rebuild + re-ship installer; no runtime bridge exists | |
| Does not exist — method names include | | |
| Outdated rule — 2.3.18 has this default-package shortcut | Prefer | |
| Does not exist | | |
| Does not exist | | |
| Does not exist in YooAsset | Subscribe | |
| Field is a plain delegate, not an event | Assign once: | |