- Home /
Need help with audio files causing unity to freeze
Hey, could really do with some help here!
Unity will play the scene with my sound once, all good. but when i press stop, and play it again, the sound does not load and as soon as i press play to stop the scene playing, unity freezes and stops responding.
I thought the problem was playing the audio on awake, so then I coded it so that it played after the timer I set reached 3f, but the same problem happened.
I also thought it might have been a compression issue, so then i compressed the audio file as an .ogg file and had it compress in the memory (before the scene loads).
Does anyone have any other ideas?
Thanks, Stephanie
i tested my audio out on a new scene, and the audio works perfectly on there.. must be something to do with the scene i've created..
Your answer
![](https://koobas.hobune.stream/wayback/20220613195458im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Add Audio Source to a Prefab 2 Answers
Function Update play sound once 1 Answer
Audio Distortion effects? 0 Answers
How Do I Get This To Play Sound? 0 Answers