Page 1 of 1

[Donion] [1.1.63] Most sounds stop playing after hours of play

Posted: Tue Aug 02, 2022 9:55 am
by thuejk
I am doing a game of the mod Warptorio 2 expansion. After some hours of play, I noticed that most sounds were not playing. Notably the warp countdown alert. This worked well on the old sound engine. Restarting Factorio fixed it - this was not necessary on the old sound engine.

Re: [Donion] [1.1.63] Most sounds stop playing after hours of play

Posted: Fri Aug 05, 2022 8:13 am
by Donion
This sounds like some objects with reserved sound instances are getting left behind and exhausting the sound instance pool over time.
If that is the case you can observe it by enabling show-detailed-info in the debug settings. There is a line "Sound instances: x/y/z", where x is the number of currently playing instances, y is the number of reserved ones and z is the size of the pool. You would see the number of reserved instances to go up over time.

Do you have a save I could use while I look into this?

Re: [Donion] [1.1.63] Most sounds stop playing after hours of play

Posted: Mon Aug 08, 2022 2:51 pm
by thuejk
The problem disappeared once I saved-restarted-reloaded, so I don't think a save would be useful? I will take a look at the sound instances if the problem reoccurs.

Re: [Donion] [1.1.63] Most sounds stop playing after hours of play

Posted: Mon Aug 08, 2022 3:01 pm
by Donion
It might help if the object/entity/whatever that gets left behind is already in the save, instead of me trying from scratch, but it's not necessary.

Re: [Donion] [1.1.63] Most sounds stop playing after hours of play

Posted: Tue Aug 09, 2022 8:51 pm
by fienxjox
Clip from twitch with that menu up https://clips.twitch.tv/HilariousRoundN ... 6tVf5h1vcv - save is available from Colonelwill

Re: [Donion] [1.1.63] Most sounds stop playing after hours of play

Posted: Wed Aug 10, 2022 10:02 am
by Donion
That's not what I've expected and it makes this more ... let's go with interesting.

Re: [Donion] [1.1.63] Most sounds stop playing after hours of play

Posted: Fri Aug 12, 2022 1:26 pm
by Donion
The issue is now fixed for the next release.
Thanks everyone for the reports.