Infinite structure block chain causes game to time out/crash
What I expected to happen was...:
The game would crash or the structure block chain would hit a limit
What actually happened was...:
Everything in the world freezes, entities stop moving, you can't open chests or place/interact with any block entities, but you can still place and break normal blocks and move around as normal
Steps to Reproduce:
[media]Recreate the design from the picture
Using the /data modify command change the "powered" nbt tag of structure block next to the redstone block to 0b
Put a name into the same structure block
Use the other structure block to save the piston, carpet, redstone block, and structure block into the same name as the first structure block
Go back to the first structure block and set it up to load 1 block in any horizontal direction and 0 blocks vertically
Save this structure with the second structure block
Now loading that structure will instantly cause the "crash", and the structures will never be placed, leaving a singleplayer world in this state seemed to cause it to save infinitely, and when used on a multiplayer server it timed every player out and then crashed the server
Linked issues
Attachments
Comments 5
Could you attach the crash report from the server crash?
That's just watchdog shutting down the server if a tick takes over 30 seconds.
This can be fixed in 2 ways:
Add a structure block load per tick limit (like the maxCommandChainLength game rule)
Delay a structure block triggering the loading by 1 tick, allowing the server to still run while structure blocks get triggered.
When you try to close and save the world, the game hangs as well and you're forced to end the process using Task Manager. The game did log "Too many chained neighbor updates. Skipping the rest. First skipped position: ...", but only when I decided to close the world.
Essentially MC-108660.
⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit