asset-module

Official

Reliable addressable asset loading and caching

Authorpunkfuncgames
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The AssetModule solves runtime asset management complexity by providing cached Addressables loading, tracked instantiation, and controlled release to prevent duplicate downloads, memory leaks, and inefficient load patterns in Unity projects. It centralizes downloading, preloading, and cleanup so gameplay systems can request resources without duplicating logic or mishandling lifecycles.

Core Features & Use Cases

  • Cached loading: Load assets by address or AssetReference with caching to avoid repeated downloads and redundant handles.
  • Instantiation tracking & release: Instantiate prefabs and track instances separately to ensure proper ReleaseInstance and Release semantics.
  • Preloading with progress: Preload asset groups by label with download dependency management and progress callbacks for loading screens.
  • Cleanup & integration: Unload unused assets and run GC when appropriate; registers as a singleton IAssetService for dependency injection and easy consumption across systems.

Quick Start

Load and instantiate the EnemyPrefab using the AssetModule with caching, show preload progress for the GameplayAssets label, and release the instance and asset when finished.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-module
Download link: https://github.com/punkfuncgames/tetris-clone/archive/main.zip#asset-module

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.