[Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

This subforum contains all the issues which we already resolved.
retchrina
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Dec 17, 2024 5:09 am
Contact:

[Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

Post by retchrina »

1. What did you do?
I originally was just cutting and pasting a large area to move it and was partway through it being dismantled and the new placed blueprint being built

2. What happened?
The game crashed to desktop and the log didn't have anything I could find as to why it crashed

3. What did you expect to happen?
Just for a it to finish dismantling and rebuild, effectively moving the build

4.Does it happen always, once, or sometimes?
It happened every time, always part way through the building process and even after disabling all mods (aside from SpaceAge/ElevatedRails/Quality)
I also attempted to not cut/paste and instead opted to cut parts of it at a time and turn them into blueprints to find out which part was causing the crash and it seems to be tied to doing too much of it at once

I had to turn the bigger version of the blueprint into a text file cause its almost 90k characters and posts cap at 60k
blueprint.txt
(87.2 KiB) Downloaded 6 times
A smaller version of the blueprint


Even pasting the smaller version of the blueprint too many times before the others are finished building causes the crash

V Location of where I was trying to build the larger blueprint if it changes anything
Screenshot (1281).png
Screenshot (1281).png (607.26 KiB) Viewed 414 times
Attachments
factorio-current.log
(89.58 KiB) Downloaded 5 times
Itsame 2.0.zip
(57.39 MiB) Downloaded 6 times
retchrina
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Dec 17, 2024 5:09 am
Contact:

Re: [2.0.31] Crash when building a large blueprint

Post by retchrina »

It has now happened even just pasting the smaller blueprint once
retchrina
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Dec 17, 2024 5:09 am
Contact:

Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

Post by retchrina »

Seems to be from any "mass" rebuilding, cut and pasted a build I was working on and same instance happened again
factorio-current.log
(96.52 KiB) Downloaded 3 times
Donion
Factorio Staff
Factorio Staff
Posts: 336
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

Post by Donion »

I know the cause and I'm finalizing the fix right now.
Donion
Factorio Staff
Factorio Staff
Posts: 336
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

Post by Donion »

You should be able to set the hidden setting `maximum-sounds` to something big, like 500 or 1000 as a workaround until the fix is released.
retchrina
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Dec 17, 2024 5:09 am
Contact:

Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

Post by retchrina »

1000 didn't seem to be big enough it still managed to crash, but I'll hold off pasting blueprints so large, ty!
Donion
Factorio Staff
Factorio Staff
Posts: 336
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

Post by Donion »

That's surprising. The crash should happen only if all sound resources are used up, with your save and the big blueprint I don't get more than ~250 sounds at a time so the crash doesn't happen when I increase the hidden setting.
Donion
Factorio Staff
Factorio Staff
Posts: 336
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

Post by Donion »

In any case, the issue is now fixed for the next release, 2.0.32.
Thank you for the report.
retchrina
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Dec 17, 2024 5:09 am
Contact:

Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)

Post by retchrina »

Thanks!, also the suggested workaround was working if I had uncommented the line in the config file but I had misread it, that's my bad
Post Reply

Return to “Resolved Problems and Bugs”