mojira.dev
MCPE-176887

Villagers linking to different beds on reload

I have between 20-30 villagers, all have workstations and their own beds with no pathfinding issues. All are grouped into separate areas (1-4 villagers per area) with doors in between the beds and workstations. There is no more than ten blocks between the beds and workstations and no vertical paths in each area. However, whenever I load the game and night falls I have four villagers that reallocate their beds between my bed and their's. I wait for night to fall, break all the beds involved and replace till all are asleep. Everything is well until I quit the game. I always use the save and exit button and close the game before shutting down the console. I discovered the issue occurs on reload when I placed multiple beds in one area where two of the villagers are. I watched them get into their claimed beds and sleep. Then, I saved and quit, reopened and they were sleeping in different beds. I have also had them all sleeping with no extra beds, exited, reloaded, and they were all awake again looking for the beds they relinked to. I have tried putting the beds in different positions. The four villagers involved entered the world at different times, meaning one was probably my 8th villager, the next 15th, and the other two close to the last additions. All of them retain their workstations and trades.

Linked issues

Comments 4

Can you provide a video clip of the issue?

https://www.xbox.com/play/media/GzSbe3Uxkk  I hope this is helpful. I also counted my villager. I have a lot more than I thought. 52 total, but only the four in the video are involved in the issue. The librarians workstation on the bottom floor is aprox 20 blocks away from the bed, upper floor librarians workstation is 15 blocks away. The distance between the butchers beds and librarians beds is 65-70 blocks. I removed my bed before starting the video.

Possibly the same underlying cause as MCPE-176528.

Very possibly related to that ticket.  I cannot confirm what villagers were linking to what bed upon reload as spread out as they are. This problem has never caused my game to crash. I have never witnessed multiple villagers sleeping in one bed. I never moved villagers into the nether or zombified them to see if they reset. In a creative copy of my world, I sent them far away and brought them back, but it did not fix them.My trips to netrher or traveling far away did not reset their beds after I reset them while the game was on. Villagers did not breed over bed limit.

It appears the only way to fix this issue is to remove the affected villagers. I do not understand coding, but it is clear something went wrong their retaining the location of their beds on exiting/reloading.

Steps I took to fix this:

I noticed the librarian on the second floor was not retaining her workstation, I removed (killed) her. Next, I bred new butchers, one at a time, and removed the old ones accordingly. The new butchers retain their beds without any issue. Lastly, the first floor librarian still claimed my bed many blocks away upon reload, so I removed him. I did not do this all at once, but over several days to see if each removal would correct the issue. I did remove the beds and workstations after I removed the villagers.

This has fixed my issues. If I decide to add more villagers, I will monitor them closely and at the first sign of this problem, remove them and breed again.

Regina R

(Unassigned)

Unconfirmed

Xbox

1.20.41 Hotfix

Retrieved