Steps to reproduce
Spawn some villagers, or find some or breeds some.
Move the villagers to a different place.
Save & quit.
Load, then move some of the the villagers a to individual cells a short distance away (<30 blocks), for example, into trading hall cells.
Save & quit again.
Load, then move a few more of the villagers to individual cells.
Save & quit again.
Load.
Expected results
When you load the world, villager that have been confined inside cells remain in their cells.
Observed results
When you load the world, some villagers that were previously confined to cells are no longer in their cells.
villagers
Only happened post update. All of my villagers in my iron farm randomly teleported out of there. Previously, some villagers in my trading hall randomly disappeared. I am assuming they teleported into a wall and suffocated due to what I saw in the iron farm.
Related issues
is duplicated by
relates to
Attachments
Comments


This happened on a realm and these villagers in the iron farm had no bed to sleep in. It happened while I slept in a different part of a world and came back through the Nether.

This happened on a realm and these villagers in the iron farm had no bed to sleep in. It happened while I slept in a different part of a world and came back through the Nether.
This has NOT been resolved as of this morning.

This has NOT been resolved as of this morning.

Reopening based on comments that the fix to MCPE-186726 did not address entities glitching out of enclosures, especially villagers in 1x1 cells.
Based on a comment on that report from Prowl and confirmations from other players in his Discord, this seems to happen at chunk borders. A villager in 1x1 cell that is on a chunk border may glitch into the neighboring chunk and suffocate when it loads. This may only happen on realms and servers or devices with weaker performance.
This happoend to me today, villagers moving both in z, x and y axis, also they did not keep the progress or locked trades after hours of managing the villagers.

This happoend to me today, villagers moving both in z, x and y axis, also they did not keep the progress or locked trades after hours of managing the villagers.
Every time I load the world to enter to play I find 3 or 4 villagers outside the house on the right side. Some are even on the roof. Every time I have to take a while to get them back and take them back to their rooms. It's incredible. I've never seen anything like it. I play on android and ios Minecraft PE. I hope every day that there is a corrective update.

Every time I load the world to enter to play I find 3 or 4 villagers outside the house on the right side. Some are even on the roof. Every time I have to take a while to get them back and take them back to their rooms. It's incredible. I've never seen anything like it. I play on android and ios Minecraft PE. I hope every day that there is a corrective update.

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Could you please provide a video and a world showcasing the issue?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki
Where can i give u a video? I have a video but exceeds the size of 10mb

Where can i give u a video? I have a video but exceeds the size of 10mb

If the video exceeds the max filesize, then please upload it to YouTube or OneDrive, and link it here.
I apologize for posting the link without giving viewing access. I have now made them visible. I also posted two other videos that highlight more or less the same problem.

I apologize for posting the link without giving viewing access. I have now made them visible. I also posted two other videos that highlight more or less the same problem.

Framorx:
Thank you for your videos, but none of them shows the villagers teleporting out of the house when loading. They show you collecting villagers and putting them into the house. Only the third video shows exiting the world with the villagers in the house, but when you reload after that the villagers remain inside.
In the future, please put everything into a single comment rather than making several separate comments in a row. You can edit comments after posting them.
I didn't think I had to insist on making you recognize the problem. You marked my ticket as "duplicate" but an administrator wrote to me that in my videos you can't see villagers "teleporting". So I'm attaching two more videos here where you can clearly see what happens. Please watch them both one after the other, also look at the time and date.
https://drive.google.com/file/d/1nH2BmQ36Y2A65-WAJXn39UyDyRRYMrO3 https://drive.google.com/file/d/1m8miCu27GjH4nqfjx3PWoo7JAppwhZGE/view?usp=drivesdk

I didn't think I had to insist on making you recognize the problem. You marked my ticket as "duplicate" but an administrator wrote to me that in my videos you can't see villagers "teleporting". So I'm attaching two more videos here where you can clearly see what happens. Please watch them both one after the other, also look at the time and date.
https://drive.google.com/file/d/1nH2BmQ36Y2A65-WAJXn39UyDyRRYMrO3 https://drive.google.com/file/d/1m8miCu27GjH4nqfjx3PWoo7JAppwhZGE/view?usp=drivesdk
I'm having the same problem ever since the creaking update. Every time I log into the game one of the villager is outside and even on top of a tree somehow. 1st time seeing the villager on top of a out of nowhere scared the soul out of my body. it's very annoying every time I log into the game I have to spend some time to put him back inside.

I'm having the same problem ever since the creaking update. Every time I log into the game one of the villager is outside and even on top of a tree somehow. 1st time seeing the villager on top of a out of nowhere scared the soul out of my body. it's very annoying every time I log into the game I have to spend some time to put him back inside.
Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response
Please add to your report Steps to Reproduce, Observed Results, and Expected Behavior in the Description, as shown here:
Steps to Reproduce:
1. (list every step carefully, so someone else can reproduce the issue, and try following your list to make sure you can still reproduce the issue yourself)
2.
3.
Observed Results:
(Briefly describe what happens)
Expected Results:
(Briefly describe what should happen)
Please also make sure to include a video that showcases the issue. If the file exceeds the limit, upload it to a third-party service like Google Drive and put the link in the Description.
Note that a quick clip would be perfect and much easier for us to review.
This ticket will automatically reopen when you reply.

i would like to leave this link here as it doesn't show the villagers being in the cage before me loading in the world but it shows me loading into the world and having villagers all over the place. i could try loading in and out of the world if this isn't enough proof of the bug

This may be caused by MCPE-187200.

i think that is the cause of it as when i load into my world i see the villagers in the location they were previously before logging out then they randomly disappear to a different location

[[Mod] GoldenHelmet|https://bugs.mojang.com/secure/ViewProfile.jspa?name=GoldenHelmet], I believe its a combination of both MCPE-187200 and MCPE-180268.
If it helps, i read that it only happens in chunks on the edges of the map. I opened a new world, reproduced an iron farm with 30 villagers in spaces of 1 x 3 at coordinates x1000 y700, and this problem does not occur.

If it helps, i read that it only happens in chunks on the edges of the map. I opened a new world, reproduced an iron farm with 30 villagers in spaces of 1 x 3 at coordinates x1000 y700, and this problem does not occur.
To help us identify the issue more quickly, it would be helpful if you could provide a world save, if possible.
If you have a copy of the world available, you might like to upload a copy of it for investigation.
On Windows 10 you can use the Export world feature.
On Android or iOS you need to use a file explorer to navigate to Device storage > games > com.mojang > minecraftWorlds
On Xbox or Switch the only way is to upload it to a Realm, and then download the world on Windows 10 or Android/iOS. (Please do not purchase a Realms subscription just to provide a world to us - but if you have a Realm already this may be a viable option if you wish to do so.)
Here are the steps to copy a world save on PlayStation:
Make sure your BLANK USB stick has been formatted to FAT32
On your PlayStation, go to Settings > Application Saved Data Management > Saved Data in System Storage > Copy to USB Storage Device > Select Minecraft > Select Saved World to copy > Copy
This should then copy the world save to the USB, which you can share to a file sharing site such as OneDrive, and then share the link.
If the world is larger than 10MB you can upload the world to OneDrive or a similar file sharing site, and then share the link.
To help us identify the issue more quickly, it would be helpful if you could provide a world save, if possible.
If you have a copy of the world available, you might like to upload a copy of it for investigation.
On Windows 10 you can use the Export world feature.
On Android or iOS you need to use a file explorer to navigate to Device storage > games > com.mojang > minecraftWorlds
On Xbox or Switch the only way is to upload it to a Realm, and then download the world on Windows 10 or Android/iOS. (Please do not purchase a Realms subscription just to provide a world to us - but if you have a Realm already this may be a viable option if you wish to do so.)
Here are the steps to copy a world save on PlayStation:
Make sure your BLANK USB stick has been formatted to FAT32
On your PlayStation, go to Settings > Application Saved Data Management > Saved Data in System Storage > Copy to USB Storage Device > Select Minecraft > Select Saved World to copy > Copy
This should then copy the world save to the USB, which you can share to a file sharing site such as OneDrive, and then share the link.
If the world is larger than 10MB you can upload the world to OneDrive or a similar file sharing site, and then share the link.

some information about the world there should be 7 shepherds inside the cobblestone box with 1 stone mansion, the trading hall should have ONLY librarians with one in each slot expect a few which are empty for a total of 15 villagers inside the trading hall. just in case you spawn somewhere else the villagers are located in the nether at -7, 85, 65. FYI this is a copy of the world not the original world where i first saw the bug take place.
https://drive.google.com/file/d/13VG6WWtzI1CYs2LQNa4h7teUWRJM1weo/view?usp=sharing

This is a game breaking bug, villagers will get stuck inside blocks below them, phase through blocks and sleep on the floor beside beds and in all sorts of angles on top of their beds and even in mid air, all contributing to them phasing through blocks. Whatever you guys changed in this hotfix really broke villagers honestly a rollback seems necessary for realms and the game as a whole.

The simple solution to this issue is to load in entities last after terrain structures ect.

Thomas Posivy, this requires that MCPE-180268 be fixed. Not only should simulation begin only after the everything has fully loaded in, but entities should also be the last to load in.
The reason why entities like Villagers, Armor Stands (fixed in 1.21.31), and Tridents disappear, or sink into the ground is because gravity simulation begins before the world if fully loaded in.
Now that the game can finally be paused (as of 1.21.60.21), it could be possible for the team to use that same functionality to pause entity, fluid, and gravity simulation but still allow the world to generate chunks.

this issue also happened in my single player world on Nintendo switch. I travel a lot in game, and when I return to my base (which has a trading hall underground) I find a small amount of villager escapees above ground. this normally happens when I am in the chunk with villagers if the chunk isn't loaded. I don't know if the happens with other mobs, but it is annoying to transport all the villagers back underground for them to come back up once again if I leave the area again

I would like to leave my world here as i’ve experienced the bug in this world multiple times https://drive.google.com/file/d/13VG6WWtzI1CYs2LQNa4h7teUWRJM1weo/view?usp=sharing is link should work i was having issues with getting the world download so for it to work on my computer i had to manually import the world into my world file if you have any issues with this or i somehow put the wrong world let me know you should spawn in the nether with a villager trading hall type build there with the place with the issue