← ClaudeAtlas

unity-audiolisted

Unity audio: memory, first-play hitches, codecs, AudioMixer routing, silent or one-ear 3D sound.
tipoLi5890/unity-dev-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill tipoLi5890/unity-dev-skills
# unity-audio — the knobs, and which ones are safe to turn > **Audio is the cheapest large win in a Unity project and the easiest to make worse.** Almost > every number here trades memory or CPU against something inaudible — and the two most common > defaults (Decompress On Load on music, a stereo clip on a 3D source) are not trade-offs at > all, they are simply wrong. ## Symptom → where to look | Symptom | Go to | |---|---| | Audio memory too high | §1 load type, §2 sample rate (`reference/sample-rate-and-codec.md`) | | Hitch the first time a sound plays | §1 — a Streaming clip without background loading | | Long level-load stall | §1 — music set to Decompress On Load | | A 3D sound plays in one ear only | §3 — this is a bug, not a setting | | Everything is silent, or 3D positioning is wrong everywhere | §3 — count the `AudioListener`s first | | A Streaming clip is silent the first time it plays | §1 — background loading has not finished | | Which mixer group does this sound belong in | `reference/mixer-routing.md` | | Dozens of Audio Sources route to Master | `reference/mixer-routing.md` | | CPU cost does not drop when everything is muted | §4 | | Latency / crackle | §4 DSP buffer | | New audio files keep importing on the defaults | `reference/import-automation.md` | | `-executeMethod` aborts with "Scripts have compiler errors" after audio work | The contract above, then `reference/import-automation.md` | | Effects made in code; no game sound may carry energy above a cut