Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I've got a technical question for you: How did you manage to loop the audio seamlessly in Unity for WebGL? Any help would be greatly appreciated, since this is a problem that I had in my lowrezjam submission.

hello lazerfalcon ! I really did not do anything special, I'm not even sure the audio is looping properly (sometime you can hear some sharp noise when a loop ends), all I did was putting the clip in an audiosource with loop = true. What was your problem exactly ?

My problem is the same: AudioClips not looping seamlessly, most likely due to AAC compression. The slight discontinuity causes a noticeable glitch after every loop. I found some resources that might help me solve the problem. I'll ping you, if I have time to implement something.