Page 1 of 1

[0.9.0] save while crafting bug

Posted: Sun Feb 16, 2014 6:34 am
by darius456
When I save game while crafting anything by hand, game save successfully but load is not possible becouse game crasch, and return to windows. I'm using:
Windows 7 64bit
CPU i7
GPU GF660m
8gb Ram

If You want one of my corrupted save game just tell and I will attach the file.

Re: [0.9.0] save while crafting bug

Posted: Sun Feb 16, 2014 10:48 am
by ssilk
darius456 wrote: If You want one of my corrupted save game just tell and I will attach the file.
No question, this is needed. How should they otherwise find out, what happened?

Re: [0.9.0] save while crafting bug

Posted: Mon Feb 17, 2014 8:25 am
by darius456
Here is my save: SAVE

I think that this bug allso appear when i research something, and save before research ends.
Error text is: "Couldn't read from input file."

Re: [0.9.0] save while crafting bug

Posted: Mon Feb 17, 2014 1:02 pm
by kovarex
We tested it, and the crafting while saving shouldn't have anything to do with that.

This problem is hard to find, are they any pointers of what you made differently before it started to be unlodable?

I fixed already a bug with blueprint/armor as item on ground/held by entity, but from what I can see this isn't present in the save.

Re: [0.9.0] save while crafting bug

Posted: Mon Feb 17, 2014 1:52 pm
by slpwnd
This is a really tricky bug it would actually be helpful to also have a working (loadable) save from some earlier time (the less time difference the better) ...

Re: [0.9.0] save while crafting bug

Posted: Mon Feb 17, 2014 2:09 pm
by darius456
kovarex wrote: This problem is hard to find, are they any pointers of what you made differently before it started to be unlodable?
I fixed already a bug with blueprint/armor as item on ground/held by entity, but from what I can see this isn't present in the save.
Have no idea what i have done in 1h and 30min of game. Build some roboport, robots as well. Build some red transport belt, accumulators (but not placed on ground only keep in inventory).

Here is working save game (1h 30m before v9.0_3 save): LINK

Re: [0.9.0] save while crafting bug

Posted: Mon Feb 17, 2014 3:39 pm
by kovarex
We just found out, that the bug is most probably caused by having blueprint in the non-active quickbar inventory.
We are working on the solution, we will most probably make the save loadable in 0.9.1

Re: [0.9.0] save while crafting bug

Posted: Mon Feb 17, 2014 5:57 pm
by Rens2Sea
I got the same crash (although i'm not crafting by hand) here.

I tested a bunch of stuff and found out what causes it.
The crash happens when you have an assembling machine (doesn't matter which one) in a blueprint (alone or with something else) in your toolbelt that is currently not active.

You can use this save to test it out, load it, change to the active toolbar, save, reload and booom, stuff explodes.

It might also be possible that the crash also occurs with different buildings instead of assembling machines, i only tested a belt and a fast inserter.

Re: [0.9.0] save while crafting bug

Posted: Tue Feb 18, 2014 8:03 am
by slpwnd
Thanks for the report and for the saves. The cause of the error was the blueprint item in the second quick bar as mentioned by @Rens2Sea. This has been fixed now for the 0.9.1. Also in the 0.9.1 your save will be loadable.