mojira.dev
MC-161823

Chunks can occasionally be misplaced upon loading a world

Moderator Note

If you have encountered this issue and your world is broken, you need to restore it from a backup, if you have one.

If you do not have a backup, you will need to repair the world manually. You can do that with mcaselector for example, a tool for managing and deleting chunks in a Minecraft world. It is also capable of swapping chunks, which you can use in order to fix worlds that have been corrupted by this bug. Please note that this tool is not supported by Mojang or the moderator team in any way.

We recommend making a backup of your world before trying to repair it manually, in case things go wrong even more.

The bug

Despite MC-150202 being marked as fixed, sometimes chunks still seem to be corrupted in the 1.15 snapshots. More details can be found in the attachments, as well as in the duplicates of this ticket.

Original description

I don't know how this happened but when i joined my world all the chunks were jumbled up, thankfully i have a backup but still this shouldnt happen.

Linked issues

MC-162489 Chunks misplaced Resolved MC-162944 game breaking chunk loading issue Resolved MC-162980 Builds from past 3 weeks disappeared when 19w40a downloaded Resolved MC-163437 problem with blocks levels Resolved MC-163477 Chunks switched places Resolved

Attachments

Comments 96

[Mod] violine1101

Can you please attach the game logs from when the chunks started to be in the incorrect place? You can find all game files in .minecraft/logs.

[Mod] violine1101

Thanks, that's worth a lot! Can you attach the previous log as well?

[Mod] violine1101

This is now the collection ticket for all kinds of chunk corruption issues in 1.15 going forward, as it's very difficult to nail down the exact cause, and even more so if you're not a developer.

Example world file could be helpful

1.15 should be delayed until this is fixed.

86 more comments

That's a different issue then. This one is not related to upgrading and also not about regenerating chunks, but instead about them swapping positions.

Can you link open cases fitting the description of my bug? Would appreciate it, thanks.

I actually can't find any. Report it, attach the world (preferably a backup from before the issue happened) and maybe a moderator will find a duplicate or it is actually a so far unknown issue, which is even better.

For pre-1.12 chunks failing to load, MC-239962 is probably best bet.
So far it seems to be mostly caused by WorldEdit.

Matthew Julian jusup

My easiest solution to this fix is ignore the chunk error and instead make a backup of the world every time we log out and overwrite the 3 previous backups when we log out of the world the next time and if it sees an error log output during loading the world then warn them to go back to the previous version to load this world and after that load the backup but if that backup also gives a chunk error output load the previous one and warn them to switch to previous version after that and if that also fails then the world will load on its own and with chunk error

Ruben W

(Unassigned)

Confirmed

Platform

Important

Chunk loading

chunk-corruption-1.15, mojang_internal_2

19w38b, 1.15 Pre-release 6, 1.15, 1.15.1, 1.15.2, ..., 1.16.3, 1.16.4, 1.16.5, 1.17.1, 1.18

Retrieved