mojira.dev
MC-150202

Chunks sometimes are dislocated / copied to another location

I have played in this single-player world a few times and every time i log into it, i copies and pastes a chunk somewhere else. the house on the left, i did not build. it is a copy of the one on the right. I don't have mods installed or anything. Anyone else having an issue with this? if so how do I fix it? or is it a bug with Minecraft that they will later patch?

Related issues

MC-149883 1.14 Chunks swapping with other chunks MC-151409 Chunk Relocation MC-151639 Previously generated chunk has either partially deleted or regenerated in 1.14 MC-152243 Chunks moving MC-152444 Chunks are glitching MC-153197 Chunks in server put randomly and weird logging MC-153384 Broken biome chunk generation MC-153954 Chunck spawning MC-153963 chunk errors in preexisting area MC-154113 Chunk Glitches When Loading The Same Version MC-154339 House destroyed because a chunk regenerated itself MC-154879 Chunks copied and placed incorrectly MC-155494 Pre-existing Chunks Are Duplicated Onto Another Location MC-155570 Creating a mountain of blocks that is not there before MC-155729 Terrain Appeared/Disappeared randomly in my world MC-155897 Chunk Misplacment MC-156288 My house disappeared MC-156735 Chunks error MC-156809 Random chunks duplicating after leaving and rejoining world MC-156818 Chunks glitching out and replacing previous chunks MC-156858 In my vanilla minecraft world chunks of new generated land keep appearing, one two blocks away from my house. One in a village, it was a huge chunk of rock. MC-156997 Chunks disappear/get swapped or are reverted to their original state MC-157065 So I entered into my minecraft world, and it looked like the ground has risen up, it cuts trees in half, destroys things I've built. It appears everywhere in my world! Pls help! MC-157246 Chunks Moving MC-157638 Chunks are being replaced by new chunks every time I log in MC-157889 Entire Chunk Disappeared After I Rejoined Single Player World MC-157891 Loaded up world, a chunk error and random deaths MC-158211 World Chunk Moved (Landslide) MC-158218 Sand spawning in my home. MC-158329 Random chunks being swapped after reloading world MC-158397 random cutted lands apearing in minecraft word random places and destroying everything MC-158438 chunk regenerating MC-158472 The mountains began to grow out of the ocean MC-158535 an entire chunk of my build was teleported into an entirely different spot in the middle of the water MC-158537 Re-Generated Previously-Loaded Chunk MC-158587 Random parts of buildings have disappeared and half my world is gone. MC-158612 Big chunks of the world is getting out of the ground to in the air and its destroying things MC-158846 suddently just spawns in huge blocks and i died becuace i spawned in it when i was in my house MC-158929 1.14 Chunk Errors MC-159100 World being destroyed by the appearance of huge anormal blocks MC-159288 Chunk does not load MC-159292 Chunk completely changed biome spontaneously MC-159294 Chunk Reset while AFK Fishing MC-159404 Huge square of biome/house missing, replaced by different biome MC-159563 a chunk got changed(including biome) MC-159868 Multiple chunk errors in the game MC-159912 Random chunks in Void world dissappearing MC-159951 Chunk werden Vertauscht MC-160037 Chunk loading errors (creates sinkholes and replaces chunks) MC-160179 I encountered a bug when I reset the Icon of a world that I created. A hill went missing but after looking around, to my surprise that the hill is now an island. It seem to have moved or transferred to a different coordinate. MC-160212 buildings dissipears MC-160216 Blocks Randomly disappearing in chunks MC-160453 Part of my whole house reset even underground part MC-160454 The structures I made in the game are being deleted! MC-160660 chunks switching places MC-161208 Chunks are rearranged MC-161431 My Mansions is splitting up. MC-161603 Chunks Copied and Spawned in MC-161711 Two Towers Create After Freeze MC-161938 Nether Chunks aren't loading correctly MC-162751 Chunk disappeared MC-162801 Random gespawnter Chunk´s über Nacht MC-162831 Corrupted World/Disappearing world MC-163139 I logged in and half of my house wasn't there, but water instead MC-163180 Part of my world did not load correctly, deleted a lot I built. MC-163395 My chunks are getting swapped very frequently! MC-164090 Chunks reset randomly MC-164279 World doesn't generate correctly after the game crashes MC-164406 chunks of land are loading in different places in the world. MC-164423 Chunks of the world reset and relocate elsewhere. MC-164532 My house was scattered across the map, chest were emptied and large chunks of mountains randomly spawned in MC-164638 Chunks swapping out MC-166323 Dorp mist verschillende huizen MC-167169 Random Chunks loading in the wrong locations MC-168200 Villages are braking MCL-11857 My house and all my builds are gone - except what I have on and in my inventory

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media][media][media][media]
violine1101

I assume you converted your world from 1.13.2 to 1.14. If you have backed up your world before converting it to 1.14, can you attach the back up? If the file size is too large, please upload it somewhere else and then link to it here.

migrated

I have experienced the same issue. I had created a new world in 1.14 when it came out and beginning this week chunks have been switched around when I log back into the world. I'm too worried to go back into the world and making it worse. The problem hasn't fixed itself either and I don't know the cause.

violine1101

Also, how much free storage space is left on your disk? This might be caused by not enough space on the disk to store the world properly (see MC-74762)

migrated

The same thing has been happening to me for almost a week. I have more than half of my space left on my disk and for the past two days the problem seemed to be fixed. But when I logged on today, it was twice as bad as usual, and it's the same world I created in 1.14. Should I delete things off my disk or is it a bug?

migrated

It was a brand new 1.14 world. plenty of space on the computer. it just kept getting worse every time i logged on. Haven't been on it in a while tho

migrated

Had the exact same thing in my world (originally 1.13). Plenty of room on the disk. I added my logs and screens.

migrated

+1. this also happened me yesterday while changed from Paper to another software. Chunks just moved somewhere on every world by loading another world. fix in 1.14.3 please

boq

Well, logs please. So far we've been unable to reproduce this. Also, "Paper to another software" is very vague. And third-party software does not make debugging easier.

migrated

This is a backup of our region file which does reproducibly cause the chunks to re-locate. Sadly, this may be due to previous saving of the chunks and I am unable to provide the world as it is too large. I do however, have 570+ backups of the world so might be able to trace back if required.

 

-7750, -180 will bring you to the region file's location.

 

Note: The backup was taken a few hours before the issue occurred.

 

In the Minecraft logs you can see:

Chunk file at [X1, Z1] is in the wrong location; relocating. (Expected [X1, Z1], got [X2, Z2])

 

[media]
boq

All chunks in that file were last saved in 1.13.2 (somewhere between 2019-04-25T11:42:38Z and 2019-04-26T05:52:47Z, might be actually interesting to see backup and maybe logs from that time), 15 of them already in wrong positions. Also, all of them are duplicates of some other position, there are no swaps.

I would guess it may be instance of MC-74762, though that one seems to be more about problems caused by lack of space or write errors.

mercurialmusic

Also experienced this using --forceUpgrade from 1.13.2 to 1.14.3.  

migrated

Could you provide the world before and after the update, please, together with logs and what you did apart from upgrading with --forceUpgrade (if you did anything else before it happened)? This might be a good example to reproduce the issue which would help the devs lots, I guess...

migrated

I updated from 1.14.3 to 1.14.4 and this is happening to me as well

migrated

This or simila bug was hapening to me in all past versions when i quickly swich to another world especialy if i create new one.
i used low end computer at that time if that could help anyhow.
1.4 1.5.2 1.6 1.7.2 1.7.4 1.7.10 1.12.2

migrated

Bigest chance was when i make new world, after 10 seconds make new world. it copyed chunks from world 1 to world 2 at that time.

migrated

Could it be that the RegionFileCache is still valid and filled when switching worlds or reloading the same world in case of a slow computer or heavy lag? Maybe clearing the cache inside RegionFileCache.close() after closing all RegionFiles could help then?

migrated

This has been happening to me to, just had a survival world I spent days on totally destroyed. This really needs to fixed, it gets very frustrating the more it happens to me. I’ve had a total of 5 different worlds destroyed from this bug. So please fix this devs, i’ve been a long time playing and I kind of feeling like quitting the game because of how much time i’ve spent on my worlds just to have them destroyed. Fix your game. (This is happening on 1.14.4 I forgot to mention that)

violine1101

Yup, just got this issue. Unfortunately I don't have a backup of the world that it happened in. This appeared in the log:

[14:12:37] [Server thread/ERROR]: Chunk file at [-1, 0] is in the wrong location; relocating. (Expected [-1, 0], got [-2, 1])
[14:12:37] [Client thread/INFO]: Preparing spawn area: 0%
[14:12:37] [Client thread/INFO]: Preparing spawn area: 0%
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3243, l='mooshroom', x=-25.36, y=72.77, z=27.30]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3244, l='mooshroom', x=-21.11, y=72.77, z=26.09]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3245, l='mooshroom', x=-23.66, y=72.70, z=30.30]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3246, l='mooshroom', x=-20.94, y=72.62, z=29.82]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3247, l='mooshroom', x=-28.75, y=72.76, z=26.17]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3248, l='mooshroom', x=-19.81, y=72.48, z=31.88]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3249, l='mooshroom', x=-23.29, y=72.44, z=31.88]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3250, l='mooshroom', x=-19.86, y=72.40, z=28.69]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3251, l='mooshroom', x=-21.23, y=72.49, z=23.10]
[14:12:37] [Server thread/WARN]: Wrong location! (-2, 1) should be (-1, 0), atx['Brown Mushroom'/3252, l='mooshroom', x=-20.69, y=72.46, z=24.87]

It should be noted that I used the NBT editor in order to change the biome of the chunk that was being copied, but that shouldn't have changed anything(?) Maybe using NBT editing I can find the cause of this. Will test further.

migrated

Would it be possible to add a short description when an issue is resolved, so we could know what caused it and maybe how to prevent it until the fix gets rolled out? Thank you!

violine1101

Not really, as this seems to have been caused by a race condition in the code of the game, which is not something that you can work around.

migrated

But if we knew some more details, we could maybe avoid certain situations that are more likely to trigger it, e.g. if the race condition only happens on server shutdown or start, on dimension change etc., what log output to look out for if there is any and so on. Not just for this bug report, but in general. I don't know how many would be interested in such more detailed information and if you can provide it, and I know this is not the right place for a discussion about it, but it would be cool if that could be considered where appropriate. Thank you ^^

boq

There is no general way to trigger that, and we had no luck in actually reproducing this, so everything we could do is just making that code saner. We changed a code to keep file consistent even in case of write failure. Such failure would leave warning log, so I guess you can look for that. I don't claim it's 100% fixed, but corruption should be rarer and easier to diagnose and recover.

migrated

That's good to know, thank you, also for taking the time to fix so many things for the next update!

migrated

I just started playing my new 1.14.4 world and I am having the same problem where the chunks are loading in different place I am running the latest version of java and have more than half of my computer storage free so if you have any suggestions on how I can resolve this problem can you please let me know this been happening for more than a month now and I have had to delete so many worlds.

violine1101

This issue will be fixed in 1.15. If you have made backups of your world, you can restore your world using those. If you don't, unfortunately your world will be corrupted and cannot be restored to its original state.

If you encounter this issue in a 1.15 snapshot, please create a new ticket and include as much information (i.e., game logs from when this issue happened) as possible.

migrated

I also want to mention my achievements reset when i login to my world and that happened.

Gerrygames

Just fyi we were experiencing this issue on our 1.14.4 servers in the past few weeks very often. I decided to look into what changed between 1.14.4 and 19w36a (as this is the first version with obfuscation mappings). I noticed that the RegionFile class has been completely rewritten. So I decided to implement the new RegionFile code into the 1.14.4 server. At first this seemed to have fixed the issue, but today the issue appeared again. And yes I am using a custom server software, but the issue is extremely likely to be the vanilla issue and if the code changes that were mentioned above are those in the RegionFile class, it seems like they did not fix the issue. I will look into what else changed and see if I can implement that too. I noticed that there were some changes in chunk de-/serialization too, but I think this is only due to the changes in the biome format.
You won't have to tell me that I would need to reproduce this on a proper 1.15 server for a proper bug report. However I won't be able to do so. Worlds get loaded thousands of times per day on our 1.14.4 server which makes it way more likely for the issue to occur. I just don't have a similar setup for 1.15 yet.

violine1101

If you're able to reproduce this issue in 1.15 (or the 1.15 snapshots), please leave a comment in MC-161823.

migrated

boq

Confirmed

Very Important

Chunk loading

mojang_internal_1

Minecraft 1.14, Minecraft 1.14.2, 1.14.4

19w34a

Retrieved