|
Post by Nitrox32 on May 6, 2020 19:12:49 GMT
Hi, I'm creating a game when a steam sound occurs when a pipe begins to move. The pipes start moving at different times so I have a one second delay attached to the PlaySoundAndForget. Everything works fine except when the pipes return to their starting position and start again the first pipe plays but none of the others do. I'm getting a return value of true for each pipe but no sound. I have no background music and both my weighting and voice limit are way about the number of sounds playing. A I missing something?
insert code here public void StartPipes() { MasterAudio.PlaySoundAndForget(steamSound, 1.0f, null, soundDelay,null, null); Debug.Log(MasterAudio.PlaySoundAndForget(steamSound)); StartCoroutine(MovePipes(secondsToWait)); }
|
|
|
Post by DarkTonic Dev on May 6, 2020 20:18:16 GMT
I would first check the Master Audio bus to see how many voices it says are playing. If you don't hear all the ones it says are playing, you can troubleshoot further on the actual Sound Group's Inspector, where it will have "select caller" buttons to take you over the game object actors.
Also, I'd try that Sound Group in 2D to make sure it's not just too far away to be heard.
|
|