[Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)
Posted: Fri Jan 17, 2025 7:25 am
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
Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)
Posted: Fri Jan 17, 2025 12:49 pm
by Donion
I know the cause and I'm finalizing the fix right now.
Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)
Posted: Fri Jan 17, 2025 12:51 pm
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.
Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)
Posted: Fri Jan 17, 2025 12:59 pm
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!
Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)
Posted: Fri Jan 17, 2025 1:14 pm
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.
Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)
Posted: Fri Jan 17, 2025 1:26 pm
by Donion
In any case, the issue is now fixed for the next release, 2.0.32.
Thank you for the report.
Re: [Donion] [2.0.31] Crash when building a large blueprint (SoundInstancePool::getInstanceWithLowerPriority)
Posted: Fri Jan 17, 2025 2:20 pm
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