iOS No Audio

I am moving my project to iOS and one of my bugs is that I can’t hear any of the audio on my iPad. Everything sounds good on the computer though.

My music is .mp3 format and the small effects are .wav files. I have tweaked each of the sounds to have different import values to test if that was the problem but I still can’t hear any of the effects.

Is there something special I need to do for iOS to get audio working?

You shouldn’t have to do anything special to get your audio working. Are you absolutely positive the mute switch is off and the volume is turned up on your device?

2 Likes

Yep, the audio is on and the speakers are working for for iPod music, but the game audio still isn’t working on the iPad.

I even created a new small test project with just a lit sphere that emits jungle noises. It plays fine in the editor, but there is no sound on the iPad. I guess I haven’t tried with headphones yet, but I doubt that is the problem…

Right now I’m updating my iPad from 4.3.1 to 4.3.2… maybe that will change something, but I hope that isn’t the problem since who knows what people will be using.

Any other ideas?

Wow, I tried with headphones and the audio works. Now the question is how do I get audio to work over the iPad speakers?

Anyone have any ideas?

1 Like

Ok… so I heard somebody had the same problem with Angry birds. Apparently the mute/volume control are different for headphones and speaks.

This is probably dumb, but I couldn’t figure how to check the “speaker” volume/mute control in the menu but I went into angry birds saw a mute button enabled and disabled it… now all my games work… Thanks Angry Birds?

I guess I’m not sure where this option is in the normal menus. Why would iPod music play over the speakers but others sounds wouldn’t. besides going through Angry Birds where can I find this setting?

Just to let you know, iOS devices have at least 2 or 3 audio levels. I would check your iPad’s settings for more info.

So to un-mute the ipad speakers I have to go to settings, change the switch from controlling screen lock to mute, then flip the switch until it is un-muted, then go back and change the switch back to controlling screen lock…

They should just put these audio settings in the audio menu …

1 Like

Hey ChurroLoco! I’m running into the exact same issue with a 4th gen iPod Touch I have for testing, music works over the speakers but my game’s audio doesn’t, while it certainly does over the headphones. Thanks for posting your findings, I’ll give them a try to see if they solve my problem.

Regards,

  • jmpp

We’re having the same issue here and we need a development side fix. Knowing how to fix the issue on a device doesn’t really solve the issue. We are noticing this issue is a lot more prevalent in the iPad2. I’m assuming it’s because those devices are already updated with the toggle mute/orientation lock functionality.

Unfortunately I don’t think apps have access to unmute or adjust iOS device’s volume settings. You probably shouldn’t have access to it anyway. So I think you best bet is to just inform the user how their device works using forums or in-game messages.

Hi, the instructions to unlock the mute from the iPad settings worked for me too.
thanks.

Hi all.

I am facing very similar issue with my iPad updated to iOS 5.1.1. I have successfully build the Unity application with Unity 3.5.2 on my iPad and I can only hear music when I plugged in the earphones. There is no sound coming from the speakers despite me trying everything I know in the Settings page or upping the volume to max. Does anyone know what is going on? Is this a Unity 3.5 bug and how can I fix it?

Mine too, but is this a permanent solution? and how can we expect our paying clients to know this? also, is this only an issue on the iPad?

Great to hear that others are having this issue as well. I’ve been ripping out my hair trying to figure out what bugs in my code could be causing this!!
We’ve received numerous 1 star ratings on the app store regarding “no audio” working. Most people who email for support we’ve told to unmute it and the audio seems to miraculously work again :stuck_out_tongue:

Does anyone know of a better solution for this though? 1 star ratings are hurting us for a user error problem. I’m assuming there wont be a way to force the device to unmute. Is there a way to check whether it is muted or not? And that way we can display a notification that the audio has been muted?

the easiest way to unmute is: double touch the home button. swipe the bottom bar to right. This gives you the volume, mute, screen brightness, audio player bar > unmute.

I would never come up with the idea to switch the hardware lock from rotation to mute on my ipads

@dreamora - yes that’s an easy solution, but unfortunately for some users they are so technologically impaired that they cannot do that. And the first reaction is “Oh the app is broken”, and 1 star the app and uninstall, or even request a refund.

The confusion comes from some apps like iPod and Youtube ignoring the mute switch. It has to do with audio categories in iOS. The most common complaint we get is that the iPad isn’t playing sound in our apps even though it’s “not muted because the iPod app plays audio”. A clear test for this is if the headphones play audio from the app. This means the device is muted (which means most audio categories are muted except the media playback ones used by ipod/youtube/mpmovieplayer). So in fact the audio is muted. This is frustrating to explain, especially to users, but it’s the way iOS audio works.

See:

http://developer.apple.com/library/ios/#DOCUMENTATION/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategories/AudioSessionCategories.html#//apple_ref/doc/uid/TP40007875-CH4-SW1

1 Like

So, I have not released a title yet with Unity but am about to. Can I expect a flood of users reporting that there is no sound?? This is not very ideal, to have to explain to them that indeed, there is sound, but you have to unmute your device by following these steps.

::???
Not very convienent.

YES! That works! I can never phantomed why the mute/unmute settings is so obscured and not shown in the General->Sounds settings in Settings app. Looks like I am one of those “technologically impaired” people too. Sob Thank you!

Again,
Will tnis be an issue when people download from iTunes?

Also, my audio files play at very low levels despite having been optimized and having Uinty volume on full.

Any ideas?