I’m having problems with ogg files when building my proyect to iPhone, using Unity 1.5.
I use Ogg vorbis for music files, and I would swear I have been using it for a month or so without any problems (probably before switching to 1.5). On my latest build, I got this error on each Ogg file:
Obb vorbis compressed audio is not supported when publishing to the iPhone. Please switch to uncompressed or Apple native compressed audio in the import settings.
However, if I select my music files and open the import settings menu, all is unselectable but “decompress on load”, which makes no difference.
Any idea about what could be happening? Thank you!
Are you absolutely positive about that? I remember I had to convert two weeks ago all my MP3s to Ogg because the MP3 encoder adds (or cuts) some extra milliseconds, which is awful for my looping music.
After the conversion, I am almost sure I tried the project on the iPhone once or twice, even though it sounds funny even to myself
Looping music with uncompressed sound files should work fine on iPhone.
Ogg files will work in the Editor but won’t work when deployed to iPhone. You need to compress audio files to Apple native format (AAC should work best) using iTunes.