Performance: Asset bundles and optimization
HIGH IMPACT
This concept affects the initial load time and runtime memory usage by managing how game assets are loaded and unloaded.
Use Asset Bundles to group related assets and load them asynchronously only when needed.Load all assets at game start using Resources.Load for each asset individually.| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Load all assets at start | N/A | N/A | Blocks rendering for seconds | [X] Bad |
| Load asset bundles asynchronously | N/A | N/A | Non-blocking load, smooth rendering | [OK] Good |