I have just been through the process of zombifying and curing the villagers in my trade hall.
Each time a librarian villager was cured, they linked to the "1st choice" job block (I don't know what determines this block) which meant that they all linked to the same block.
When free to move, all the villagers pathing to and trying to use the same job block leads to a crash.
Breaking a job block linked to multiple villagers leads to a crash.
All villagers sleep in the same bed in a stack - this does not lead to a crash.
Loading the game gives around 2 to 3 seconds before the game crashes. Loading the game in creative and using this time to very quickly set the game to night stops all the villagers pathing to the job block and avoids the crash.
Sending villagers into the nether allows you to safely remove them from a job block without a crash however the job block cannot be safely removed until all but one villagers have been unlinked from it.
Sending all villagers into the nether allows all job blocks to be removed, villagers can then be returned in small batches and given back job blocks without crashing the game. Villagers coming in from the Nether take the 1st unassigned job block as expected.
Whilst I have been able to fix the issue in a copy of the save via creative, this disables achievements on the world. It would be nice to continue the long term world in survival with achievements still active. I still have the original save but don't have a way to fix the bug in the time available before the crash in survival.
[media]
I can send the bugged save on request.
Linked issues
is duplicated by 12
relates to 2
Attachments
Comments 20
I was unable to reproduce this in a local world by spawning 3 zombie villagers and curing them near beds. Can you try to give more detail about the circumstances, such as whether you zombified all of the villagers in the hall at the same time, and how many total you had?
Updated world on hosted server to latest release then started re-linking villagers. World crashed and server restart roughly 30-45 seconds in to re-linking.
Resolving temporarily as Awaiting Response. Could you export an affected world and attach it to your report? If it exceeds the file size limit, you can upload it to a file sharing site (e.g., OneDrive) and link it here.
This ticket will reopen automatically when you reply.
The trading hall consisted of 30 villagers - 28 librarians and 2 nitwits.
They were zombified and cured 1 at a time. The problem didn't seem to start with the first librarian, I noticed villagers attaching to different job blocks as their job block was replaced. It was after I had done 9 successfully that I noticed that villagers weren't linking to the job blocks when it was placed back down, however I didn't notice they were linking to the same one until later on.
Whilst the villagers remained trapped in 1 by 1 spaces with water at their feet, they didn't cause the game to crash.
I let the villagers that hadn't linked properly out of their pens over night and they went to sleep, the idea was they would go to their job block in the morning and I would put them into the pen next to their block and relabel them, however that was when I noticed they all went to the same block, which was one already "owned" by one of the successfully placed villagers.
I have exported 2 versions of the world here: https://drive.google.com/drive/folders/1aNSw2txujtcl_yM6L9OgU-nNk5Z0TzvA?usp=sharing
I have set it to view only, it should let you download. If not let me know and I will look at the permissions.
The first version (The New Armoury - bugged) is one where the villagers woke up and crashed the world heading for their job block. That is the version where I took the screenshot. If loaded you may only have a few seconds to do anything.
The second version (Safe Copy of The New Armoury -sleeping) is where I loaded the world up in creative and set the time to night putting the villagers to sleep. That gives you a full night to do things before they wake up and crash the world. You can also change the time if you want to see what happens.
In both versions, all the free villagers are linked to the lecturn by the ginger cat at the end of the room.
"Multiple villagers on one job block" happens for me, but game doesn't crash.
And a few villagers lay on the air like there is a bed, same place, and it was inside the wall so some villagers dead...
I thought it happens because I made village with cured villagers.
@Auldrick are you sure that deleting and re-building the village works?
I had a corrupted village of 20 villagers and 20 beds. When I deleted the beds and re-placed the beds in the same coordinates, then the villagers still could not claim them. So at least I had to not re-use any of the old bed coordinates.
But when I directly edited the database and deleted all the old-style "VILLAGE_(dewelling Id number)..." villages, everything was back to normal.
Hi. In my main base, I still had the problem of villagers sharing beds and workstations and vanishing (dying?) in 1.20.51.
After deleting the old village data the villagers stopped sharing the beds, now I had the problem of some villagers not selecting any beds or workstations.
So I figured out the ID of this village and deleted this data, too. This finally helped to make the village functional again.
I had to spend several hours and around 15 Euros for the Universal Minecraft Tool. But to me, it was important to make my main base in my main world functional again.
I posted a bug about librarian job stations and it was marked resolved stating it as the same as this report. So I came to read the comments here. I can add some details I have experienced that haven’t seem to have been mentioned here in the comments yet or original report.
I began to experience my librarians unlinking to their workstations after one of the recent updates on my Realms world. It was within the last couple of months so had to be 1.20.50 or 1.20.51. I did as I have done in the past when workstations got unlinked for some reason, I broke them all then placed them down one by one to see who would link. Once a workstation linked, I would break it and place it in front of the villager station for that librarian. I keep my librarian in minecarts in a little carved out space with a couple of vertically stacked chests next to them to store the books I buy from them.
But when I began to notice workstation linking issues this time around, I experienced a very odd phenomena. I would place a workstation, have it link, break it, place it in front of the villager and the villager would not link to it again. If I broke that workstation and placed it one block away, it would link but then of course wouldn’t have access to refresh trades. This occurred with about 2/3rds of my 19 librarians. No workstation linking issues have occurred with my clerics, farmers, blacksmiths, tool smiths, armorers or masons.
I decided to let my librarians run free so they could link and unlink however they needed to but keep refreshing trades with access to their station. I rebuilt the entrance to my hall so they would stay trapped and just this last week, they began disappearing. I now only have four of my 19 librarians left. There is no way for them to leave so they are disappearing or dying.
It is incredibly frustrating as I have many hours of work invested in these villagers and getting them set up for our Realms players and now I either have to re-do all that work or give up on villagers altogether.
I play mostly on iPadOS (most current publicly released version) and this world is specifically a Realm world. I can provide a download save of the world if need be and any other details that may help address this bug. Thank you for taking time to read this.
I'm seeing this same behavior on a survival world village: multiple villagers in a bed, multiple linked to job blocks and uncontrolled breeding.
The described behavior of negative owner values allowing the multiple connections makes sense. I did try breaking them all. I put the beds and job blocks in a chest and removed all the extra villagers, but the problem has returned. If the beds and job blocks keep their properties while stored in a chest, then this would make sense for the problem to return.
Does it stand to reason then that REPLACING the beds and job blocks might resolve this? I would break all beds and job blocks, put them in a chest and craft new beds/blocks .
Experiencing the same thing in my world. The game also crashes when you break the job block all villagers have decided to link to.