Nice and cozy game! Art style works well in this, fun to watch them grow bigger. In the browser the audio had small bugs but did not bother me. Good job!
Viewing post in Petville (Brackeys Game jam 2024) jam comments
I also get that bug too when I played this game. However I notice I was using a specific kind of USB audio interface and if I plug in some headphones to the jack on my computer that uses the regular stock audio that comes with the computer, this issue just goes away.
This is usually only an issue I found that's really specific to Godot web exports made with certain 4.x versions (it's possible they got rid of this issue in the very latest stable, 4.3, but I'm not 100% sure, and I think it's there in most 4.x versions of Godot) and when someone uses certain kind of USB audio interfaces that aren't the standard audio.
However here's the thing. This game isn't made in Godot! It's made in Unity! It's really bizarre to see this issue in a Unity web game, I thought this wasn't an issue in Unity web exports, so it's strange to encounter that issue in this game.
Could you check if for some reason if you change what audio device you're using, the issue just seems to go away? I am curious what causes this kind of issue so I could possibly keep it in mind in general when developing games.
I checked it out more in more detail. Used chrome for this. The audio bug occurs when i scroll down the itch.io page to look description, but seems like it does not happen in game. In firefox it does not happen when scrolling down the itch.io page only when i open other tab. I think this is not a bug that you need to be very concerned about. Very bizarre bug. :D
It's really bizarre. On my side, I get all the audio crackling, the whole time, and for the whole game unless I use the stock audio only. it's also for this specific Unity web game in particular, and not other ones, for some reason. So I guess for you this might be a different kind of bug not the one I thought. I might double check that mine is not the same as yours, but I think it might not be the same one.
Oh I know which one you mean now, it's when you scroll, the audio starts repeating a small part over and over again. I know about that one too, but I guess I didn't really pay much attention to it as I wasn't sure if it mattered too much. Yeah I think that one might be pretty minor, not sure what causes it. Though I wonder, if it's happening on only this specific game, perhaps it also happens at the same time with the weird persistent audio glitching bug I get when not using stock audio hardware (but, not sure about that)
It might be the specific Unity version and maybe it also only happens on particular USB audio interfaces and not others. I just ran into a download-only Unity game in this jam and in the USB interface, it always crackles, but in the stock audio, it doesn't. Almost always, neither WebGL nor download crackles for me on any Unity game on the USB interface.
The only way to be sure now is I should finally try Petville on download (which I never did yet) and see if the same thing happens. If it does, there might be some strange audio bug similar to the one Godot 4.x has (but I think that Godoit one only affects web, this Unity one would seem to affect Desktop too so it might be worse in a way), on some particular Unity versions and particular USB interfaces. Right now, I did not confirm that it does this on the download version of Petville, but if it does, there may be some combination of specific audio interface and specific Unity version used that causes persistent audio crackling.