# Development Asset Hot Swap

> Replace game assets at runtime without scene reload or visual artifacts

- Skill: `lgrappag/development-asset-hot-swap` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lgrappag/development-asset-hot-swap`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lgrappag/development-asset-hot-swap/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: LgrappaG (https://skillmd.com/u/lgrappag)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lgrappag/development-asset-hot-swap

---


# 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

1. Invalidate GPU renderer cache
2. Load new asset via async import
3. Rebind material/mesh in batch operation
4. 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


