Entity working sound causes hard freeze
Posted: Sat Sep 24, 2022 1:23 pm
Hello,
I was submitted a bug report from a user stating that his game was freezing "on input" from a save that used to work. On further investigation, I found that it happened when his character/camera hearing range passed a certain entity that was actively working (pyindustry's accumulator-mk01).
Below are the steps to recreate this issue:
1. Sync and load the provided save with PyIndustry 1.5.2 (problematic audio file was replaced in 1.5.3)
2. Unpause time
Optional:
3. Sync and load the provided save after launching the game with --disable-audio
4. Unpause time
5. Observe lack of freezing
Thanks again for including the debug symbols with the game, this made tracking this down so much easier.
I was submitted a bug report from a user stating that his game was freezing "on input" from a save that used to work. On further investigation, I found that it happened when his character/camera hearing range passed a certain entity that was actively working (pyindustry's accumulator-mk01).
Below are the steps to recreate this issue:
1. Sync and load the provided save with PyIndustry 1.5.2 (problematic audio file was replaced in 1.5.3)
2. Unpause time
Optional:
3. Sync and load the provided save after launching the game with --disable-audio
4. Unpause time
5. Observe lack of freezing
Thanks again for including the debug symbols with the game, this made tracking this down so much easier.