- Home /
Sounds not working after building APK
The sounds work whenever I run the game inside Unity before building. Once I have built the APK the sounds suddenly stop working in unity and on the APK itself. I have to reassign the script to get it to work.
It does this when I use an Audio Source too and it also still does it when I reference to files directly instead of going through Resources. The script seems to be assigned correctly but I just get silence whenever the sound is suppose to happen. It's odd because it works perfectly before building.
Any ideas?
AudioClip t = (AudioClip)Resources.Load("JPN/Pickup_Coins_1",typeof(AudioClip)); AudioSource.PlayClipAtPoint(t,transform.position);
Your answer
![](https://koobas.hobune.stream/wayback/20220613181724im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Making a sound play at a moving point 1 Answer
Android sound distorted 2 Answers
Update and PlayOneShot (audio interval) 1 Answer
Audio: -3db automatic attenuation on any audio playing? 0 Answers