asset-promise-lifecycle
OfficialManage async asset loading
Authordecentraland
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the complex process of asynchronously loading and managing various assets (textures, models, audio, wearables) within the ECS, ensuring efficient memory usage and a smooth user experience.
Core Features & Use Cases
- Asynchronous Loading: Handles the creation, polling, and consumption of asset promises for non-blocking asset loading.
- Memory Management: Integrates with memory budgeting and cache dereferencing to prevent memory leaks and optimize resource unloading.
- Error Handling: Provides robust mechanisms for managing loading failures and reporting exceptions.
- Use Case: When a new scene loads, this Skill ensures that all necessary textures and 3D models are fetched efficiently without freezing the application, and cleans them up when no longer needed.
Quick Start
Use the asset-promise-lifecycle skill to create a new texture promise for a given source URL.
Dependency Matrix
Required Modules
None requiredComponents
referencesscripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: asset-promise-lifecycle Download link: https://github.com/decentraland/unity-explorer/archive/main.zip#asset-promise-lifecycle Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.