[Lou][2.0.28] Vehicle orientation lost when blueprint reimported

This subforum contains all the issues which we already resolved.
Redruin
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jan 29, 2021 10:48 pm
Contact:

[Lou][2.0.28] Vehicle orientation lost when blueprint reimported

Post by Redruin »

2.0 allows users to now blueprint vehicles and their equipment grids. When creating a new blueprint, the direction that the vehicle had is retained inside of that blueprint as long as it remains in-save:
12-27-2024, 17-40-43.png
12-27-2024, 17-40-43.png (878.59 KiB) Viewed 281 times
However, when a blueprint is exported to string and then immediately re-imported, the direction of the unit is lost and it's orientation defaults to north:
12-27-2024, 17-42-07.png
12-27-2024, 17-42-07.png (612.56 KiB) Viewed 281 times
If I had to guess, I would suggest that perhaps the vehicle's "orientation" parameter (or equivalent attribute) is not being properly exported to blueprint string, as it is not present in its JSON dump. If this is the case, then the fix should be very straightforward.

This is not a major issue, but it may cause certain blueprints to become unplacable when the orientations are reset. Left-most is manually placed, middle is placed with a blueprint made in-save, and right is the in-save blueprint converted to string and back:
12-27-2024, 17-47-06.png
12-27-2024, 17-47-06.png (1.79 MiB) Viewed 281 times
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 225
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: [Lou][2.0.28] Vehicle orientation lost when blueprint reimported

Post by Lou »

Thanks for the report. Fixed for 2.0.34
Post Reply

Return to “Resolved Problems and Bugs”