I played it again, I really like this game. I checked where I think is the max level the tree should be and not to upgrade past this point for now in case I want to avoid getting this issue.
This is the number with no pets, if there's some pets it would show as a bit higher, but it's something like 146 or higher and the tree looks like this when it should stop being upgraded to avoid the issue for now:
Viewing post in Petville (Brackeys Game jam 2024) jam comments
In case it helps further, I was able to check more about a strange audio bug I was getting on certain USB audio interfaces. (Some people claim they were just getting audio bugs, period, even on stock audio hardware - I didn't really get any like that).
On a different game I saw in this jam made with Unity 2022.3.9, there is persistent audio crackling unless I use stock audio hardware, on even the Desktop version of the game. That particular game did not have a WebGL version to check, only a Desktop build.
On your game, made with, I believe Unity 2022.3.44, when I opened it quickly now, I noticed I actually do NOT get the audio crackling bug on the Desktop version. Not even on my USB audio interface. I only get this strange crackling on the WebGL version of your game, unless I use stock audio hardware where I don't get this issue even on WebGL.
I guess I might keep in mind that if I ever consider to use Unity 2022.3.x versions for development, there may be some strange issues or bugs with audio that affect some particular cases.
This doesn't really matter much for me in terms of the gameplay, these issues are very minor and I think your game is my favorite from the whole jam, thanks for making it and it's really fun to play!