Affected version: 0.13.3
The game crashes if you try to use a blueprint book that has a blueprint in it for entities that no longer exist (because they're from a mod that you disabled and the migration removed the entities).
How to reproduce:
Create a blueprint that uses a modded entity. Use the icon for the modded entity as one of the icons for the blueprint. Mark that blueprint active in the blueprint book. Disable the mod that added the entity. Load into the map again. Pick up the blueprint book -> crash.
The blueprint that caused the crash for me did not contain the actual entity, but the icon for the entity was used in the blueprint label. So that might have caused it, or it was simply because some of the other blueprints in the book actually contained the entity.
More tests could be done, but the above sequence of actions definitely triggers the bug.
[0.13] Crash when picking up BP book after migrations
[0.13] Crash when picking up BP book after migrations
Is your railroad worrying you? Doctor T-Junction recommends: Smart, dynamic train deliveries with combinator Magick
Re: [0.13] Crash when picking up BP book after migrations
Do you have a crash log and or a save file that reproduces the issue?
If you want to get ahold of me I'm almost always on Discord.
Re: [0.13] Crash when picking up BP book after migrations
The save file is attached (it's pretty big because the map is large; but it's just sandbox map with not much in it).
To reproduce, simply pick up the blueprint book from the toolbar and cycle to the next blueprint in the book with Shift-MWheel.
Originally I had the crash right when I picked up the BP book from the toolbelt and dragged it onto the playing area.
So what's causing the crash seems to be the ghost preview being rendered that is missing some entities that have been migrated away.
Here's the crash log:
To reproduce, simply pick up the blueprint book from the toolbar and cycle to the next blueprint in the book with Shift-MWheel.
Originally I had the crash right when I picked up the BP book from the toolbelt and dragged it onto the playing area.
So what's causing the crash seems to be the ghost preview being rendered that is missing some entities that have been migrated away.
Here's the crash log:
crash log
- Attachments
-
- Sandbox 0.13.zip
- (32.8 MiB) Downloaded 166 times
Is your railroad worrying you? Doctor T-Junction recommends: Smart, dynamic train deliveries with combinator Magick
Re: [0.13] Crash when picking up BP book after migrations
Can you include all the mods you're using in the save as well? When I load it without the mods it works just fine.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.13] Crash when picking up BP book after migrations
Was this save originally created in 0.13.4 or did you migrate it from one of the older versions?
If you want to get ahold of me I'm almost always on Discord.
Re: [0.13] Crash when picking up BP book after migrations
The save is migrated from 0.12. The blueprints were created in 0.13 by importing blueprints with Blueprint string; the imported blueprints were also created in 0.13, on a map that was migrated from 0.12.
I'm attaching an archive of the mod folder to this post.
The mod that I disabled to provoke the crash is "SmartTrains". I've also disabled "Personal Teleporter" (that must be unrelated because I've never used it).
I'm attaching an archive of the mod folder to this post.
The mod that I disabled to provoke the crash is "SmartTrains". I've also disabled "Personal Teleporter" (that must be unrelated because I've never used it).
- Attachments
-
- mods.zip
- (5.03 MiB) Downloaded 105 times
Is your railroad worrying you? Doctor T-Junction recommends: Smart, dynamic train deliveries with combinator Magick
Re: [0.13] Crash when picking up BP book after migrations
Fixed for 0.13.5.
If you want to get ahold of me I'm almost always on Discord.