Asset Hot-Swap
Replace game assets at runtime without scene reload or visual artifacts using GPU cache invalidation.
Risk Level
MEDIUM
Core Rules
- Support >=50 concurrent asset replacements
- Maintain material bindings across 95% of mesh instances
- Achieve <300ms hot-swap latency
- Guarantee zero visual glitches
Response Pattern
- Invalidate GPU renderer cache
- Load new asset via async import
- Rebind material/mesh in batch operation
- Verify GPU memory state post-swap
Usage
- Texture artist iteration during gameplay
- Mesh optimization testing (LOD variants)
- Material authoring with live feedback
- Prefab variant testing without rebuild
- Shader variant switching at runtime
What NOT to Do
- Material references breaking after swap
- Dangling pointers from descriptor reuse
- Visual artifacts from partial updates
- VRAM exhaustion from orphaned assets
- Race conditions with active render jobs