Page 1 of 1

[0.17.2] Missing science icons in blueprints created pre 0.17

Posted: Thu Feb 28, 2019 5:41 pm
by Bored_Mike
Haven't seen this one mentioned yet. Any blueprints that were created before 0.17 do not show science icons either in assembly machines or in icon bar. This applies for red/green/blue/yellow science only, grey/purple/white show correctly. Any newly created blueprints show them correctly. Not a big issue as all these blueprints will have to be remade anyway, it just seemed a bit odd.

Re: [0.17.2] Missing science icons in blueprints created pre 0.17

Posted: Thu Feb 28, 2019 7:09 pm
by Klonan
Is this a in-game blueprint or a blueprint string?

Re: [0.17.2] Missing science icons in blueprints created pre 0.17

Posted: Thu Feb 28, 2019 9:41 pm
by Bored_Mike
It is in any blueprint in my blueprint library book that was created before 0.17.

Try starting a new game, import the blueprint string below, then open it up. The assemblers for red and green science are missing their recipies.

Code: Select all

0eNrdXV1v1EgQ/CuRn2PO4/my9w/c+93jCaHNYoIlr3fl9XIglP9+3iSbGFJtdw08nYSECKHSVVPT0z1tL9+zu+7cHIe2H7PN96zpx3Zsm1O2+ef5D98+9Of9XTNkG3Ob9dt9k22ycdj2p+NhGPO7phuz2+x4OE3/7NBfIL5mm+I2+5Ztcls8PNy+gSlZmLJCMJaGqRGMe4E57bddl3fb/fEtRLkE4V8gtqdTs7/r2v4+3293n9u+ycu3YPYZLCKw8FM8TdfsxqHd5cdD18hYMLBISxQQTEXDQGb1C0zbn5phnL72BsC8ANxmH9thov74dyWAM4U6rLDEzhgaB9IzpYKfJ/jxBvcwLkfjOIjjifVzCn4hcdvg6CK9ihinonGw6jXhBoVaZcHlhfyqVglTMJ3KBRw+l1uIY6ksjGNxaZkTg3naBphYoHFwPHp751cgfPhWCl/m/gXiB2MGBFiT2/jFmTA+W9COMhCHdziOR5PVc6PXy1oijRbricG6xDSK6fK+xzi87/EyRiKNatSq6H1kYGllax4IlrGuSNw/BlYhjvY95ufozC7Qs2n2FNg51lYCO9rmArvAuwAT4/O7gdWsY/K7iev5ytW0ESBDTyd2TNAbIiFrCPpSn5CNom73lvYWJsp7H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ib15bUm75uQsMd0yJG3mw64ShD6LfL726f138z+G4nbrNtOONPXzLubv5qPN3/c/Dk0TX/z965t+t3l4ujLZMxH+DiVMi64Yvr18PAfEDZ69A==
This string was exported from my blueprint library in 0.17. It worked correctly in 0.16.51

Re: [0.17.2] Missing science icons in blueprints created pre 0.17

Posted: Thu Feb 28, 2019 10:00 pm
by dewiniaid
Is there a mechanism for applying migrations to the blueprint library? If not, I can see how this might have happened with the prototype names changing.

Re: [0.17.2] Missing science icons in blueprints created pre 0.17

Posted: Fri Mar 01, 2019 12:51 am
by Bilka
The string that you posted does not have any machines that are set to science packs. See https://my.mixtape.moe/ujxevl.json

Re: [0.17.2] Missing science icons in blueprints created pre 0.17

Posted: Fri Mar 01, 2019 8:52 am
by Bored_Mike
They were set in 0.16.51.
As pointed out above, it is probably a migration related thing that is not happening for pre-existing blueprints. Not sure if this something that is easily fixable or is even worth bothering with. All these blueprints will have to be remade anyway for the science changes and the problem will disappear.

Re: [0.17.2] Missing science icons in blueprints created pre 0.17

Posted: Sun Mar 03, 2019 11:21 am
by Jürgen Erhard
Bored_Mike wrote:
Fri Mar 01, 2019 8:52 am
They were set in 0.16.51.
As pointed out above, it is probably a migration related thing that is not happening for pre-existing blueprints. Not sure if this something that is easily fixable or is even worth bothering with. All these blueprints will have to be remade anyway for the science changes and the problem will disappear.
Wrong. I have a blueprint that has science packs on requester chests and inserters, and they wouldn't have to be changed at all (requesters request a number of science pack, natch, and the inserters are limited to a set number of a specific science pack on the belts the insert to). But since they are not migrated…

Re: [0.17.2] Missing science icons in blueprints created pre 0.17

Posted: Wed Mar 06, 2019 12:57 pm
by Rseding91
Thanks for the report however this isn't a bug: blueprint strings do not do migrations and as such are only *fully* "valid" for the version they're created in. They "mostly" work between versions but when something as big as 0.17 happens and recipes/entities are renamed the blueprint string will become invalid for those renamed things.