If you set it on the entity rather than in the create_entity function, it works fine. So it might just not be setting the quality level of the recipe properly.
This issue does survive the save/load cycle..
Quick replication command:
Code: Select all
/c
game.player.surface.create_entity{
	name = "entity-ghost",
	inner_name = "assembling-machine-2",
	force = game.player.force,
	position = game.player.position,
	recipe = "assembling-machine-2",
}
Current log was me opening the crash save

