Hello ! I have such a issue. Most of the time, my Ambient Sound is working as expected. As long as there is no many on them nearby each other...
My issue is like that. I have a forest, with some animals ambients, trees ambients, etc. Everything works fine like first 2-3 min of playing the game. Then suddenly part of my ambient sounds are just not working. I can't hear them. What i found is that, in fact the audio is playing in Master audio, variations are changing, green box "playing" is working (however all time at 0% progress). But curves under a specific audio source shows that im very very far away from my audio source. In that case i checked where is my Audio Source and this is at... 0,0,0 position.
Even if i'm inside of ambient range, the audio source position is not changed and distance curves shows that im on very very big distance from the source.
Do You have maybe any idea what can be wrong ?
Maybe important note: If i will move my sound group game object manually then to the Ambient Sound position, everything works great again. However after some time this back again to 0,0,0 and again issue is here
yes, I'm using latest version. As im testing right now, i discovered one problem. If i have 2 ambients, referencing to same SoundGroup. And distance is overlapping (sphere collider is overlapping), then if i move from Ambient A to Ambient B, the audio source is not following (stays at Ambient A position, as i entered this range first). However, if i will leave one ambient sound range, then i will wait till green bar (playing) will change to red (not playing) and then i will enter another ambient, everything works. Audio source is changing position then properly. So seems like the problem is when i'm changing from one ambient to another, without giving time for audio clip to fade out.
I cannot share with You the scene, as there is many third party assets, and our publisher policy is saying that first with have to sign NDA if we want to share anything with that. So i'm mainly asking for direction where to look for an issue I didn't tried to repro that on empty project yet.
Post by DarkTonic Dev on Nov 20, 2023 17:35:10 GMT
Fairly hard to understand what you're saying based on the above. No picture.
If you have 2 Ambients in the same Sound Group, are they able to play at the same time? That would require at least 2 voices in the Sound Group. Not sure how you have it set up. The default for each Variation in the Sound Group is a single voice.
If you only have 1 voice, I wouldn't expect it to work as there are no voices left to play #2, but I'm not sure how exactly it would behave. In any case, make sure you have enough voices available for your Ambient Sounds.