|
Post by krzysiek on Apr 14, 2021 10:43:10 GMT
Hi there, I'm trying to get 3 rain loops to play in random order. I'm using looped chain for this. Unfortunately when I test it in the game the gap is very obvious. Is there something I'm going wrong? I'm using default sound group with 3 varations and looped chain setting. Nothing else... My Unity version is 2020.1.17f1.
Best, Krzysiek.
Attachments:
|
|
|
Post by DarkTonic Dev on Apr 14, 2021 15:11:04 GMT
The only delay would be from loading the clip, which happens if you've done one of the following: unchecked "Preload Audio Data", using Resource Files or Addressables.
-Brian
|
|
|
Post by Brent on Dec 11, 2022 0:48:45 GMT
Hello, I realize I'm joining this thread much later, but I'm having a similar issue with chained loops, where I've got 4 variations and when they switch between items there is a very brief delay. I know this because the loops are beat-based and I can hear the tiny delay when switching. I've tested the loops individually and they are seamless. I checked the troubleshooting points below: made sure "Preload Audio Data" is checked, and that I'm not using Resource files or Addressables. I'm using Master Audio 2022 and Unity 2021.3.5f1  Thanks for any insights!   
|
|
|
Post by DarkTonic Dev on Dec 11, 2022 1:23:22 GMT
I'm afraid you'll have to send me your scene with this issue. You can delete everything else except for the audio assets and master Audio. With my testing there was never a gap.
|
|
|
Post by Brent on Dec 11, 2022 3:53:52 GMT
Thanks for the quick response. I'll create a new empty project and see if I can repro the issue, and post the scene if I can.
|
|
|
Post by DarkTonic Dev on Dec 11, 2022 17:02:30 GMT
Thanks! But you will need to email it (support@darktonic.com) or PM me. We can't have source code on the forum.
-Brian
|
|
|
Post by Brent on Dec 13, 2022 0:24:09 GMT
Thanks Brian,
I've tried to repro in a simplified scene to send, but can't seem to.
I've gotten it to happen when using Cinemachine 2.8.9, seems like it happens sometimes when I put the Event Sounds in the Main Camera so that it will follow the camera movement. I can't get that to repro in new projects, though. The other thing: I was using this low latency audio reactive library (https://github.com/keijiro/Lasp) and am wondering if it was interfering. I wasn't able to resolve the issue by removing it from my project, but I could imagine they might conflict. I found no issue other than the slight delay on looped chains, however, and can't confirm they were conflicting. My project uses the URP and 2D Unity packages, but couldn't find any connection there.
I'll post if I find the cause / solution, any other possible hints would be appreciated. Thanks!
|
|
|
Post by DarkTonic Dev on Dec 13, 2022 1:29:14 GMT
Oh interesting. Maybe the low latency library interferes somehow. I have no idea what it does.
|
|