Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

No audio on iOS

$
0
0
Hi, i'm trying to playback mp3 sounds for my game. In unity editor everything works as expected but on iOS there is no sound at all. I've checked if my devices are muted, also i'm testing on iOS 7.0.4 and 6.1 both have no sound. Maybe i'm doing something wrong with playing or loading the sounds, here's what i do in my audio script: this.gameObject.AddComponent(); buttonSound = Instantiate(Resources.Load("Sound/btnFX")) as AudioClip; audio.PlayOneShot(buttonSound);

Viewing all articles
Browse latest Browse all 4709

Trending Articles