[2.0.72] Underground belt gets instantly destroyed when upgrading with belt dragging

Post your bugs and problems so we can fix them.
Cwdr_9
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Dec 06, 2024 9:03 pm
Contact:

[2.0.72] Underground belt gets instantly destroyed when upgrading with belt dragging

Post by Cwdr_9 »

Mods: Space Age
Viewing Nauvis from Gleba, I discovered that dragging a belt and upgrading the underground, in this specific order for some reason, made the underground disappear. Undoing it just said, it was deconstructed. The underground is also destroyed.

To reconstruct:
It works on all planets (To avoid mods potentially messing with testing, I only tested Nauvis, Gleba, Vulcanus, Fulgora, and in space.)

Build two or more belts, with the corresponding underground variant next to it.
Hold a belt of a higher grade in the cursor. Then start dragging from any given belt, over to the underground, and then away, towards the belt you started dragging from. The underground will disappear, and if it had items on it, they go with it, while showing the flying text, as if it was deconstructed by hand, with the total showing 0.

Info/Quirks:
Attempting to reproduce it in the editor did not work. Either it is the lack of a character, or its instant build quirk. Nonetheless, just spawn in a character.
Command to spawn a character, and control it: /c game.player.character = game.player.surface.create_entity{name="character", position = {0,0}, force = game.forces.player}

If you undo it, it will display "Undo deconstruction of Underground Belt". If you instead of undoing it, deconstruct it, and then redo until you are at the original belts, and undo those as well, the upgraded underground belt's ghost remain.
If done with remote view (the map) it is removed. If done without it, i.e., with the character's cursor, it gets put into the inventory.

The belts must be real. The underground does not need to.
Showcase video attached, however, text is is in danish. Since I deemed it minor enough, I didn't bother changing it to English. If needed, I can submit it in English
Attachments
Showcase.mp4
A short video, showing how to replicate the bug, demonstrated on Gleba.
(27.47 MiB) Downloaded 6 times
Post Reply

Return to “Bug Reports”