When the space platform is auto requesting build materials during a large initial build event (like pasting a blueprint for an entire spaceship), its possible for the build to deadlock.
Steps:
1) Paste large blueprint of a space platform, its easier to deadlock if there is only a single cargo bay directly touching the Space platform hub
2) Have the surface fill up the hub with items and overflow prior to sending up a single load of cargo bays
3) At the time when the hub storage overflows onto the space platform, have no Space platform foundation in the hub storage
4) Have the overflowed items land where the cargo bay should be placed
At this point even if you manually send up cargo bays or platform tiles, they immediately become overflow that land on the platform, so you the space platform build stalls and requires manual intervention; such as manually sending back items from space to the surface and forcing cargo bays/platform tiles to be sent next.
Save file with deadlocked platform build attached as well as a save file from about 90 seconds before the deadlock occurs:
This is a weird edge case race condition causing a deadlock that is pretty easily manually fixed and doesn't cause a crash (and probably not a de-sync, although I didn't test that), so totally understandable if this gets classified as "Won't Fix."
[2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition
Re: [2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition
I think a simple fix for this could be to simply prioritize sending space platform foundation, if that's possible.
Re: [2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition
Ya I think platforms should be number 1 priority, followed by cargo hubs, followed by everything else.Techjar wrote: Tue Nov 19, 2024 11:48 pm I think a simple fix for this could be to simply prioritize sending space platform foundation, if that's possible.
Re: [2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition
I've changed the logic for the next release so it won't auto-request items for entities which are not yet buildable. This means anything delivered to a platform will at least be usable to build *some* ghost. It's possible that too many different types are requested at once and it clogs the inventory but that's far less likely and I have no answer for that.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition
Thank you!Rseding91 wrote: Sat Mar 01, 2025 3:02 pm it won't auto-request items for entities which are not yet buildable.
My own personal Factorio super-power - running out of power.