Quick answer: Audio that cuts out is most often channel/voice starvation: there's a limit to how many sounds can play simultaneously, and when too many are triggered, some get cut off or fail to play. Fix it by managing voice usage, prioritize important sounds, limit and cull less-important ones, and avoid spamming sounds, so the audio budget isn't exceeded. Also check for device/buffer issues and audio-focus handling that can interrupt sound.
Audio cutting out, sounds suddenly stopping, effects not playing, audio dropping during busy moments, breaks immersion and feels broken. The most common cause is running out of audio voices (channels) when too many sounds play at once, but device and focus issues can also interrupt audio. Fixing it is largely about managing your sound budget.
Why Audio Cuts Out
Audio systems can play a limited number of sounds simultaneously (voices/channels). When the game triggers more sounds than there are voices, voice starvation, the system must drop some: it may cut off currently-playing sounds or fail to play new ones, so audio 'cuts out.' This commonly happens in busy moments (lots of effects at once, like intense combat) where many sounds fire together and exceed the voice limit. Spamming sounds (triggering the same sound many times rapidly) also burns voices fast.
Other causes: audio device/buffer issues (a device change, an underrun) interrupting audio, and audio focus handling (the OS taking audio focus, e.g. on mobile, and the game not handling it). But voice starvation during busy moments is the most common 'audio cuts out' cause.
How to Diagnose It
Check whether cutouts correlate with busy audio moments (many sounds at once), which points at voice starvation, monitor how many voices are in use and whether you're hitting the limit during those moments. If audio cuts out specifically when lots of sounds play (combat, chaos), it's almost certainly the voice budget. If it cuts out on device changes or after backgrounding (mobile), it's a device/focus issue.
Reports describe sounds dropping or audio breaking up during action. Bugnet captures reports with context, so audio-cutout complaints and any correlation (busy moments, certain devices, after backgrounding) surface, helping distinguish voice starvation from device/focus problems. Voice starvation is reproducible by triggering many sounds at once.
How to Fix It
Manage your voice budget. Prioritize sounds, assign priorities so important sounds (key gameplay audio) aren't cut off in favor of minor ones when voices are scarce. Limit and cull, cap how many instances of a sound can play at once (don't play 50 identical hit sounds, play a few), and cull inaudible or low-priority sounds (distant, quiet, off-screen) to free voices. Avoid sound spam, combine or limit rapidly-repeated sounds. These keep you within the voice budget so important audio always plays.
For device/focus issues, handle audio device changes and audio focus (especially on mobile) so audio recovers rather than staying cut out. After fixing, verify audio holds up during the busiest moments (no important sounds dropping) and recovers from device/focus changes. Good voice management, prioritize, limit, cull, is what keeps audio intact even when a lot is happening, which is exactly when cutouts otherwise occur.
Audio cutting out is usually too many sounds for too few voices. Prioritize important sounds, cap and cull the rest, so the voice budget holds even in chaos, and handle device/focus changes.