1
Bug Reports & Support (modded) / Re: Random Chance of Game Freeze/Hang During Interactions
« on: April 19, 2024, 12:16:55 PM »
MusicPlayer definitely is pretty finicky!
From my earlier post in this thread, I think this issue has to do with probably a mod playing and pausing a bunch of tracks, and the game runs out of buffers to play a new track and hangs infinitely waiting for one to become available. I've bumped up the buffer pool size to 10 (from 5) so that may help unless some bit of code just keeps opening and pausing a bunch of music until it runs out of buffers. I'm not sure how this would be related to Java 23, though, that's odd.
From my earlier post in this thread, I think this issue has to do with probably a mod playing and pausing a bunch of tracks, and the game runs out of buffers to play a new track and hangs infinitely waiting for one to become available. I've bumped up the buffer pool size to 10 (from 5) so that may help unless some bit of code just keeps opening and pausing a bunch of music until it runs out of buffers. I'm not sure how this would be related to Java 23, though, that's odd.