Jump to content

Material inventory accounting broken, persists over save


Gurgel
  • Branch: Preview Branch Version: Windows Fixed

After some asteroid switch, it suddenly claims I do not have enough Igneous Rock to build tiles, while I have 400t and the tiles get build just fine. This problem persists over a save/reload cycle. I had to go back a few auto-saves to get rid of it.

Picture shows one instance, there are around 100 more in the save.

bug40.thumb.png.eff9c38e52393469148517a4ac93f19d.png


Steps to Reproduce

See attached save.

015.sav

  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Update: I ran into this again. Maybe triggered by removing the last dupe from a planetoid via teleporter?

Edited by Gurgel

Share this comment


Link to comment
Share on other sites

This seems to happen when another asteroid doesn't have enough of the chosen material - is that the case for you as well?

There was another bug report about it a while ago I think

Share this comment


Link to comment
Share on other sites

No, the other one has > 50t of Igneous Rock. But when the last dupe is removed, availability gets set to 0. So maybe there is a race condition in there, i.e. sometimes the availability gets set to zero _before_ the dupe leaves, some times after?

Also seems to not be triggered if there is no open building task.

Edited by Gurgel
  • Like 1

Share this comment


Link to comment
Share on other sites

I've experienced this within a planetoid where I still had pending build orders but sent all the dupes away however it didn't propagate to the other planetoids (i.e., the "not enough materials" alert was only on the empty planetoid).

You might be right, there might be some race condition happening that triggers this with some events one time and others another time...

  • Like 1

Share this comment


Link to comment
Share on other sites

I'm not sure this is fixed, as I can see this same bug with steel:
The Lucky Lab Cycle 362.savimage.thumb.png.b9f11107386b930ee313bc6dc7b349d2.png
Camille is standing over 20kg of Steel, (there's more in storage bins and other locations), but I can't build anything with steel on the current planet.  I can also see it persists across saves.

I also tried deconstructing items made of steel, as well as teleporting it all back to a different planetoid.  Neither "reset" the glitch.

 

@Bryce would you prefer I create a new bug?

Update: Ugh sorry, I just realized what my issue was (I had a blueprint in Space/out of reach) that I was using as a reference for a build, and I forgot about it.  It had "reserved" all my Steel

Edited by boiledDupe
Added question

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...