TAssetBundle
All-in-One AssetBundle Management System for Unity
TAssetBundle covers the entire AssetBundle lifecycle—configuration, build, download, loading, tracking, and unloading—in one consistent workflow.
Requirements
- Unity Version: 2019.4 or later
- Supported Platforms: Windows, macOS, iOS, Android, WebGL
Quick Start
// Initialize
await TAssetBundles.InitializeAsync();
// Load and link to a GameObject — auto-released on destroy
AssetManager.LoadAssetAsync<Sprite>(image.gameObject, "Assets/Sprites/icon.png")
.OnCompleted += asset =>
{
image.sprite = asset.Get();
};
Get started with the full guide
Key Features
AssetManager — Recommended Workflow Load assets with automatic lifecycle management. Link assets to GameObjects for auto-release on destroy. Built-in prefab pooling, usage tracking, and flexible unloading strategies.
Manifest-Based Bundle Configuration
Create a TAssetBundleManifest in any folder—all files and subfolders become managed targets. Use composition strategies to define how assets are grouped into bundles. Multiple manifests per folder supported.
Incremental Build Cache Only changed bundles are rebuilt. Bidirectional dependency tracking ensures correct propagation through the entire dependency graph.
Path-Based Asset Loading
Reference assets by project path (Assets/...). AssetRef provides Inspector drag & drop with GUID-based serialization that survives asset moves and renames.
Flexible Download System Download by tags, specific assets, or scenes. Check download sizes before starting, with built-in progress tracking.
Automatic Memory Management (LinkAsset) Link assets to GameObjects. When the GameObject is destroyed, the asset is automatically released. No manual unload logic required.
Built-in Prefab Pooling
AssetManager loads prefabs from bundles with integrated pooling. PrefabPoolManager provides standalone pooling for any prefab reference.
Asset Usage Tracker Monitor GameObject-to-Asset relationships at runtime. Sort and filter with regex to debug memory usage and find unused assets.
Plugin System Extend TAssetBundle with plugins that hook into the build pipeline, runtime loading, and Inspector UI. Play Asset Delivery plugin included.
Editor Tools
| Tool | Description |
|---|---|
| TAssetBundle Browser | Search, filter, and sort assets across all manifests |
| Cross-Reference Analyzer | Detect and visualize cross-bundle asset references |
| Asset Usage Tracker | Monitor asset usage at runtime |
| Dependency Checker | Visualize bundle dependencies |
| Web Server Test | Test remote loading locally |
| Asset Reference Tracker | Track active assets and bundles |
Content Update Flow
- Configure Asset Bundles — Manually or with Composition Strategies
- Build Asset Bundles — Incremental build with cache
- Upload to Remote Storage
- Complete!
All copyrights for TAssetBundle are owned by tigu77.