New: 36 free tools for Unreal Engine and Unity developers.Try them →

WAV vs OGG vs MP3: Best Audio Format for Unreal and Unity

Which audio format to import into Unreal Engine and Unity, which sample rate and bit depth to use, mono vs stereo, and import settings that save memory.

In this article
  1. The short answer
  2. Why not import compressed files?
  3. Sample rate and bit depth
  4. Mono vs stereo
  5. Unity import settings
  6. Unreal Engine import settings
  7. Before you import: clean and normalize
  8. Summary
  9. FAQ

WAV, OGG, MP3, FLAC: which one should you import? The answer is simpler than it looks, because both Unreal Engine and Unity compress audio themselves when they build your game. What you import is the source, and the best source is the one that has lost the least quality.

The short answer

  • Import WAV, 16 or 24 bit, 44.1 or 48 kHz.
  • Mono for sounds positioned in 3D; stereo for music, ambience and UI.
  • Let the engine choose the compression for each platform.

Why not import compressed files?

OGG and MP3 are lossy: they throw away parts of the sound to make files smaller. When the engine builds the game it compresses the audio again with its own codec. Two rounds of lossy compression stack their artefacts: smeared transients, swishy highs. Starting from WAV means only one round.

Compressed sources are fine when that is all you have, or for very large music libraries where repository size matters. Just export them at high quality.

Sample rate and bit depth

SettingRecommendedNotes
Sample rate48 kHz or 44.1 kHzBoth are standard; engines resample if needed
Bit depth16 or 24 bit24 bit gives more headroom while editing
ChannelsMono for 3D, stereo for music/ambienceMono uses half the memory

Mono vs stereo

A sound played at a position in the world (a footstep, a door, a gunshot) is spatialized by the engine: it becomes a point source panned to the listener. A stereo file there wastes memory and can sound wrong. Use mono for 3D sounds. Keep stereo for music, wide ambience beds and 2D UI sounds.

Unity import settings

Sound typeLoad TypeCompression Format
Short effects (UI, impacts)Decompress On LoadVorbis or ADPCM
Medium effectsCompressed In MemoryVorbis
Music, long ambienceStreamingVorbis
  • Tick Force To Mono for 3D sounds if the source is stereo.
  • Lower the Quality slider for sounds that do not need full fidelity.
  • Use platform overrides for mobile to save memory.

Unreal Engine import settings

  • Import WAV files as Sound Waves.
  • Set compression quality and codec per Sound Wave, or more conveniently per Sound Class or platform settings.
  • Choose a loading behaviour for sounds that must play instantly (for example Retain on Load or Prime on Load) and let long sounds stream.
  • Use Sound Cues or MetaSounds for random variations, pitch shifts and layering.

Before you import: clean and normalize

Most volume problems come from inconsistent source files. Trim silence at the start (it adds latency to every play), convert 3D sounds to mono and bring everything to a consistent loudness. Our guide LUFS for Game Audio explains loudness targets.

The free Game Audio Converter does all of this in your browser: batch convert WAV, MP3, OGG, FLAC or M4A to WAV (16 or 24 bit), OGG or MP3 at 48, 44.1, 32 or 22.05 kHz, convert to mono, trim silence and normalize to a LUFS target with a true-peak limit. Files never leave your device.

Summary

  • Import WAV; let the engine compress for each platform.
  • 48 or 44.1 kHz, 16 or 24 bit.
  • Mono for 3D sounds, stereo for music and ambience.
  • Unity: Decompress On Load for short sounds, Streaming for music.
  • Unreal: set compression and loading per Sound Wave or Sound Class.

Frequently asked questions

Should I use WAV or OGG in Unity?

Import WAV when you have it. Unity re-encodes every audio clip with the Compression Format in its import settings (often Vorbis), so starting from WAV avoids compressing twice. OGG is fine when you only have OGG or need a small repository.

What audio format does Unreal Engine use?

WAV is the recommended source format for Sound Waves. Unreal compresses audio when cooking, with a codec chosen per Sound Wave or platform, so import high-quality uncompressed files.

What sample rate should game audio be?

48 kHz or 44.1 kHz are both standard. Engines can resample per platform, and many sound effects can be stored at lower rates on mobile to save memory.

Should sound effects be mono or stereo?

Mono for anything played in 3D space (footsteps, impacts, voices in the world): the engine positions it anyway, and mono uses half the memory. Stereo for music, ambience and UI sounds.

  • #audio
  • #unity
  • #unreal engine
Written by Renish

Indie Unreal Engine developer and founder of Tvashta Studio. Builds the Shopping Simulator Kit plugin in UE5 C++ and the free tools on this site, and writes these guides from that work for Unreal Engine and Unity developers. More about the studio.

Related articles

All articles →