I have multiple 48kHz 2 channel 16bit .WAV audio files with ambient sound, all of which import incorrectly.
The problem is already visible in editor, so it’s not purely a runtime playback issue:
As you can see, Unity adds silence at the end. This is also audible if you click into into the spectogram close to the end and play it back. I tried switching the import settings for Compression from “Vorbis” to “PCM” and changing “Streaming” to “Decompress On Load”, but all it does is make the imported audio huge while not removing the easily visible gap at the end that shouldn’t be there!
A fix or a workaround would be appreciated.