Quantcast
Channel: Questions in topic: "issue"
Viewing all articles
Browse latest Browse all 827

Help! Sounds won't play when changing scene

$
0
0
Hi! So, my team and I have been working on a game for a few weeks now, and we're working on implementing basic UI sound effects, such as a click sound when pressing a button. However, all of these buttons also change the scene, and the sound won't play as a result. I know the sound is functional, because with buttons that don't change the scene, the sound plays. Only the buttons that call the ChangeScene script don't play the sound. My assumption was that because the object is no longer in the scene, the sound is cut off. There is a slight delay at the beginning of the sound clip, so I felt like this was a possibility. I wasn't sure though, so I figured I'd ask. Thank you for helping, or even just being willing to! Hopefully I explained the issue clearly enough, haha. My team is new to Unity, so I'm sure this is a simple issue to fix, we're just young developers. Thanks again!

Viewing all articles
Browse latest Browse all 827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>