
Troubleshooting sound crackling issues of a Unity 3D project
Hi ! We are a small team of 2 working on a video game project on unity.
For the last months, we have suffered from a random but very immersion breaking sound bug. We are desperately trying to find clues on how to tackle this problem, but we're starting to run out of ideas.
--> I tried to showcase the best I could this problem in the post linked youtube video for better clarity.
A few more info about the case :
- When does it happen ? Very randomly, sometimes as soon as the game starts, sometimes progressively later during the game, sometimes never. A few of our testers (myself included) have had this bugs happen, while some others (testers and the dev) never experienced it.
- What are the impacts ? The sound can get very slowed, distorted and a lot of crackling happens especially from all the SFX and else. Overall, it is very annoying (understatement) and breaks immersion to the point where you either alt+f4 or change volume to 0.
- What did we try ? Restarting computer, erasing and redownloading game build, checking/updating sound drivers, checking and tweaking external sound card settings, setting a fixed sample rate (44k or 48k, can't remember), manually capping FPS to prevent unity over consuming GPU, checking computer resources metrics running the game to see if it was having a hard time.
Where we are now :
- It is not an isolated person case (multiple persons impacted with different hardware)
- We can't reproduce it willingly other than trying to launch the game multiple time hoping to get it
- It could be hardware dependent because some people *never* got it, so i'm currently checking impacted people's hardware to search for potential HW similarities.
- Doesn't seem to be linked with computer performances (game running with loads of CPU/RAM/GPU left).
Does anyone have any idea of what could cause this kind of problem ?
Have you ever had something alike and if so, how did you manage to correct it ?
Thank you for having took the time to read and have a good day.
u/PolyshedStudio — 9 days ago