I have imported a WAV into Unity (PC) and the Audio Importer won't let me click "hardware decoding" or "gapless looping", even when I set it to compression. Are these parameters only available for preview on iOS devices? I have also created a seamlessly looping mp3 but the mp3 only imports 1:43 out of 2:00. Strange :)
I also have this problem. Another answer here says to use WAV files - which I've tried and still the problem persists. I am interested in hearing why these options are disabled...
Answer by Graham-Dunnett
Apr 08, 2012 at 09:51 AM
Hardware decoding is for mp3 compressed audio. Gapless looping can be ticked when you have a wav file and you change the audio format to Compressed (MPEG). Unity will then compress the WAV into an MP3 file and make the clip the correct length to loop without popping.
Why is there no "Compressed (MPEG)" in my dropdown on Unity 3.5f5 only "Native (WAV)" and "Compressed (OGGVORBIS)" sometimes - this is when it does this even though the files are indeed wavs?
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
Gapless looping on iOS
Producing seamless looping MP3s
Questions about using custom mp3's vs unity's automatic wav to mp3 compression
Large music files make asset importing slow / game large. Compression ideas?
Unity is cutting a SUBSTANTIAL amount off the end of my MP3 files.