Page 1 of 1

[2.0.58] Crash marking for deconstruction of ghost of stack-inserter blueprint migrated to bulk-inserter

Posted: Tue Jun 24, 2025 7:45 am
by Quezler
Discovered within the bowels of the "spidertron deployment" space exploration menu simulation, painstakingly dissected to constantly narrow it down further:

Code: Select all

/c
stack = game.player.cursor_stack
stack.import_stack("0eNpFjcEOgjAQRP9lzsVQtKD9FWMM4B42ykLaxUhI/90qJt5mMjNvVnSPmabAovArSJSVKcKff2a5yjx0FOCtgbQDwSNq298LlkhBc2IwjTHPRvkgXvBFuXMGyyaSwY0D9Vtep4sBKw0Z8382eFKI30J1tIfmVDXOOruvy5TepDg0yQ==")
stack.build_blueprint{surface=game.player.surface, force="player", position={-18, 6}, build_mode=defines.build_mode.forced, direction=defines.direction.north}

stack.set_stack{name="deconstruction-planner", count=1}
stack.set_entity_filter(1, "bulk-inserter")
stack.deconstruct_area{surface=game.player.surface, force="player", area={{-25, -25}, {25, 25}}}
blueprint string mentioned above:

Code: Select all

{
    "blueprint": {
        "entities": [
            {
                "entity_number": 1,
                "name": "stack-inserter",
                "position": {
                    "x": -0.5,
                    "y": -0.5
                },
                "direction": 6
            }
        ],
        "item": "blueprint",
        "version": 281479275151360
    }
}
when edited to bulk the code does not crash:

Code: Select all

{
    "blueprint": {
        "entities": [
            {
                "entity_number": 1,
                "name": "bulk-inserter",
                "position": {
                    "x": -0.5,
                    "y": -0.5
                },
                "direction": 6
            }
        ],
        "item": "blueprint",
        "version": 281479275151360
    }
}

Code: Select all

0eNo9jd0OgjAUg9+l18MwdKB7FWOM03NxIjuQ/RgJ2bsLYrxr0/brDNdnGgNLgp1BkjgxRdjzz0xXyd5RgNUKcvMEC5f7Z8USKaQlUBiHuKwGWQlv2KreGYVpE0XhwYHuW96WiwIn8ivlf6zwohC/heaoD92p6Yw2et/WpXwAZRs0YQ==

Re: [2.0.58] Crash marking for deconstruction of ghost of stack-inserter blueprint migrated to bulk-inserter

Posted: Tue Jun 24, 2025 7:57 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.