Gantry carriage crash + duplication bug
ergo3983 opened this issue ยท 4 comments
Describe the Bug
I made a gantry contraption: a row of harvesters that move along a length of farmland, with a chest attached to it. When it reaches the end of the gantry, a redstone contact activates a redstone link, flipping the switch and reversing direction with a gearshift.
As it went down the gantry, it harvested the wheat as normal and I collected seeds from the chest while in motion. Then, when it reached the end, it made contact with the redstone contact and the game instantly crashed. Upon reloading, all the blocks that made up the gantry were both intact and a copy was dropped on the ground, duplicating the harvesters, cantry carriage, chests, and structural blocks.
Further testing:
Taking an item out of a chest attached to a moving contraption causes it to crash the game and duplicate the blocks of the contraption when the game is reloaded.
The gantry carriage can stop because it reaches the end of the gantry, or because a redstone contact reverses the direction.
Reproduction Steps
- Create a gantry system with a chest. Put something in the chest.
- Start the gantry moving.
- Take them out of the chest while the contraption is moving.
- When it reaches the end of the gantry, the game will crash.
- Reload and there will be two copies of the gantry system overlaid on each other. When they reach the end of the gantry, one will break and give you a copy of all the gantry blocks.
Expected Result
The game does not crash and the gantry stops as normal.
Screenshots and Videos
This screenshot shows a mechanism that has tested to duplicate the blocks when the carriage reaches the end of the gantry.
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
Appleskin 2.5.1
Architectury 9.1.12
Borderless mining 1.1.8+
Continuity 3.0.0 beta 4+
Create addition 1.0.0b
Create structures 0.1.1
Create sodium fix 0.5.1-d
Fabric API 0.91.0+
indium 1.0.27+
Lamb Dynamic Lights 2.3.2+
Memoryleakfix Fabric 1.17+
RoughlyEnoughItems 12.0.684
Sodium 0.5.3
Starlight 1.1.2+
Xaeros Minimap 23.9.3
Additional Context
No response
I've been running into this on my server. I also recreated it in singleplayer using your instructions. Here is my crash report. I found that you have to take an entire stack out. I took just a single item of a stack out and it didn't crash. I had only Create and Fabric API installed.
This might be related to this issue on the Forge repo. They are using Fabric despite it being on over there.
duplicate of #1080