When some villagers get in to bed, they go flying off the map. It seems to only happen when there are rows of beds right next to each other.
Steps to Reproduce:
Place down a row of beds
Spawn a villager for each bed
Set the time to night
Observed Results:
Some of the villagers fly out of their beds.
Expected Results:
The villagers should not fly out of their beds.
Please read before commenting or adding attachments
A fix for MCPE-71243 was applied in the 1.16.200.57 Beta release. As suspected, it appears that this bug has the same underlying cause, so that fix also fixes this issue. We will keep this ticket open until the fix has been included in the next regular release (no specific date can be given).
As the issue has already been fixed, there is no need for any additional comments or attachments.
Workarounds
To prevent sleeping villagers from floating away, make sure entities such as cats, golems, and other players cannot touch the villager's bed while the villager is sleeping. (Unfortunately, villagers seem to float away for no reason in some cases, so this may not work 100% of the time.)
To bring a villager back to its bed after it has floated away, try one of the following workarounds. Note that these are temporary solutions; if a returned villager is touched again after you bring it back, it will float away again.
The first group works by forcing the villager to get out of bed: (The bug only affects villagers that are in bed/lying down.)
Wait until the villager wakes up in the morning.
Break the bed.
Sleep in the bed, displacing the villager.
Open the villager's trading UI.
Attack the villager (note that this will reduce your popularity in the village and get the golems angry at you if there are any)
The next group works by making the game refresh its information about the villager. If multiple players are in the village, all players must do this at the same time:
Move far away from the bed, then return. 100 blocks is usually enough, but you might have to go farther.
Go through a Nether portal, then return. On some platforms, you may need to wait a few minutes before returning.
This last method is the most reliable, but also the most disruptive:
Save and reload the world. In a multiplayer world, all players must exit. On Realms, close the Realm and wait 15 minutes before reopening and rejoining.
Related issues
is duplicated by
relates to
Attachments
Comments


I just saw a villager in a horizontal sleeping position fly across the village in Windows 10 PC Bedrock v1.16.100.56 Beta. Boy is this disconcerting when you are not expecting it. I think it may relate to MCPE-81101 and MCPE-53436.

I have tested this issue more and see the problem:
Villagers visual box can be moved by other entities, including players or other villagers. When you have two villagers next to each other, the visual boxes of both villagers fly out of existence.
If you run the /testfor @e command, you'll see that the villagers are still there, but you can't see them. Even after relogging, the villagers don't return back to normal, unless you break their beds or place the villagers in boats (
).
Hopefully this issue gets fixed before the full release, would be bad that villagers start floating around the whole world

Getting the same flying villagers on Xbox One X (Minecraft 1.16.100.60 beta)

Also occurs on Android phones for beta's. Makes it so you don't want to play because of possibly losing hours of what you built to begin with.

Same problem, Xbox one, beta. I observed a compound of 32 villagers reach 0 villagers in 3 minecraft nights. I found that reloading the world brought back some villagers into vision. I understand that the villagers are not gone, just not visible or interactive.

I am suddenly getting this issue on PS4 after updating to the 2.18 patch. But for me it's not just "rows" of beds, if I step on a single bed with a villager in it, the villager floats sideways away through the wall.

I had updated both my Xbox One and Windows 10 to the newest version today and this started happening to me and my husband as well while gaming. I will include screenshots as well as we decided to take a few. Some are from my computer and others are from the Xbox One.

Did not have this problem until after today's 2.18 update for ps4. Villagers fly across the floor and are invisible. You have to run out of render distance then come back for them to reappear. The ones that don't disappear can easily be bumped from their beds.

Also happens to me. All of my librarians have teleported out of their safe spots and it has also totally reset their level back to 1 from having a max level librarian with mending for 8 emeralds...

Updated to the newest version on the Windows 10 version, Villagers started flying around as soon as they went to bed.
Also, I was leading 2 sheep back to base by holding wheat, and almost as soon as it turned night time, their models froze in place, breaking the blocks beneath them made them float, but I could still see grass blocks turn back to dirt in random spots as if a sheep had eaten it. I then killed one of the frozen sheep, and its items appeared about 5 blocks away. My friend came to where I was on the map when it was daytime and took the sheep back using a leash, however for me the leash attached to the now floating sheep
[media], and extended off through a mountain as my friend walked off with the sheep.

I'm having this issue too playing on Xbox in yesterday's update. I've found that you can control which direction the villager floats off in by changing where you stand on its bed. Villagers can float through walls in this manner. Thankfully this doesn't harm the villager and nothing happens if you try to attack the floating villager. If you wake the villager it will exit the bed in the normal location as if nothing is wrong.

@unknown: The reset of trade discounts is working as intended and is the result of the fix for MCPE-70782. Going forward, discounts will be more modest and not all items will be discounted.
The visual effects of villagers sliding off their beds, through walls, etc., and even their total disappearance after you lose sight of them, is a visual bug only. In reality, they remain in their beds and are as safe as they have always been. You can fix the visual problem using any method that causes the chunk their bed is in to be reloaded: Use a Nether portal, move outside simulation distance of the bed, or save and reload the game.

I did not have this problem until yesterday after the new update. I have Bedrock on IOS 14.1 btw. I believe they may even despawn, though, as now all of the villagers seem to be missing, replaced by a large group of brown villagers who all stood around one house saying "hmm" and apparently doing nothing, although there were countless job opportunities available. If there are two beds and a villager is laying on one of them in a weird position, the other villager can't lay on the other bed.

A similar issue of mobs flying out of mob farms when hit by other mobs falling down upon them is occurring. They glitch out visually from the confines of the 1x1 chute area and then will bounce back when the player walks into them and sometimes will just bounce back on their own as more mobs fall down into the chute. The glitched mobs have no hitbox. Striking them with an arrow just passes through them. I've witnessed this happening to both skeleton and zombie farms. This only began with the Bedrock 1.16.100 release.
The Villager glitch is also happening. One appeared to be buried under the floor blocks, but did not suffocate and was fine in the morning when they woke up.

When a player or other entity makes contact with a sleeping villager, the villager rebounds from the point of contact. This is similar to when you nudge a standing villager, but a villager isn't supposed to be movable while it's sleeping. In fact, the server part of the game doesn't move a villager while it's sleeping, but in 1.16.100, the client part of the game does. So the sleeping villager appears to slide away from the bed and doesn't reappear until the server corrects the client with an updated position for the villager.
To the player, this makes it appear as if the villager slides away after something comes in contact with it. The visual sliding continues for as long as the contact persists. If contact is broken, then resumes later, the sliding resumes as well. Sometimes it seems as if the speed of movement increases with prolonged contact.
Because it's not the entity itself but only the image that moves, the image can slide through solid blocks without suffocating. It can also slide into solid terrain such as a mountain and disappear from view that way. This may trick the player into believing that the villager has despawned.
If contact is maintained long enough, the villager image may be nudged entirely out of the ticked chunks. When that happens, the client may no longer be able to render the image, even after the player forces it out of the bed. In one experiment, I caused the villager to slide away beyond the render distance, then broke the bed and placed it again. The villager did not reappear next to the bed as expected, but after a moment green particles appeared both above the bed and in a separate location two blocks above the ground near the bed, so it appears that the villager was there but just wasn't being rendered.
One commenter above (Ava Gorman) reported evidence that villagers had despawned. I don't think they actually despawned in this case, but they apparently lost their professions. I'm not sure, but I think this might have happened because they delinked from their workstations for some reason, possibly because the client had slid them too far away from their workstations. It would be interesting to know whether they recovered their professions after saving and reloading the world.
Similar issues of disappearing or incorrectly positioned mobs of other kinds may or may not be related. For example, it often happens that a villager can become mispositioned when trying to go to sleep, so that it's only partly on the bed, or is on the ground beside the bed, or is partly embedded inside the bed blocks instead of above them. It's unclear at this time whether this is a separate issue.

@unknown: You're talking about MCPE-105997? We've been discussing your chicken farm video. I don't think it's the same bug. Densely crowded mobs have been glitching through corners between transparent blocks (in your case, between glass blocks or a glass block and a birch slab) for ages. It's why my chicken farms always have blocks filling the corners. There might even be a very old bug ticket for it, but it's been around so long that most people just take it as a given.
Your video does show something new though: The chickens flying back into the cooker, backwards. That looks like what a client does when the server updates an entity's position coordinates. The client animates teleporting it to the new position, and it looks very similar to how an enderman moves. (It might even be done specifically for enderman, and just coincidentally happens in other cases, I don't know.) What the change probably means is that this glitch used to happen on the server but has been moved to the client for performance reasons. But we'll look into and track that using that other ticket.

As of yesterday Nov 17 2020 this is the exact thing that is happining to me. my base is loaded with villagers and is in close proximity to my zombie spawner, normally they offer great deals just for the hell of it but today they jacked up all their prices (thats fine) but they are freezing and not dying aswell. when they sleep if you nudge them they take off into the wall
supper frustrating as i had accidentally nudged a villager in a closed room with three Golems. they killed me over and over and over and over again. I was trying to figure out why the villagers are floating and acting weird and set my respawn next to them. the same golems i had for a year! either way i am killing everyone in my base now. thanks mojang for the crap update yesterday ...BLAHHH
I know my villagers are gone now and despawning i had nametages on a bunch 😞
WHY did nudging one of my villagers while he slept piss off my golem??
This is not resolved for me .. i left to my endrealm by traveling far away though my neither and same thing ... i reloaded an old file... same thing.
i went flying far away and back (chunks are struggling to load) and same thing

@unknown: "Nudging" means just bumping into the villager gently, the way you do when you want to push him into a boat or minecart. I tested this and the golem didn't get aggressive. It takes more than just a nudge to excite a golem; you actually have to attack the villager, say by hitting it with your empty hand (fist) or even a block that normally isn't considered a weapon. Or of course, if you try to destroy the bed and miss, you could hit the villager with your axe and that would upset the golem. One more possibility: If you try to touch the villager where it appears (instead of on the bed where it actually is), and a golem happens to be standing nearby, you might wind up touching the golem itself, which is considered an attack.

MCPE-105892 reports that other mobs can also be seen floating, and that they cannot be interacted with. So apparently this problem isn't limited to sleeping villagers.

You are correct i looked over my recording and i aggroed the golems when i thought no one was in a bed in another room and i punched an invisible villager. i didnt noticed they were on to me cause they where stuck on the beds with the other invisible villagers. died like 6 times in a death loop of hell with me spawning on the bed they killed me at all three of them lol any chance we can see a 2 sec respawn no touchy clause ??
thank you for your hard work btw really do appreciate it 5 stars

I’m still getting the same issue. I am not always using farms. I am just creating villages and in some areas and have some beds side by side so this is starting to make my game unplayable

The issue's still going..😞 and the temporarily fix doesn't work at all. Arrrggghh. It's bothered me so much tho. I'm on my way to make a proper village with bunch of named villagers with their own single bed each. Currently it's look like a weird freakin' disaster. Kinda loss my appetite to play it more. 😌

Had this happening last night, with just a regular village that we were levelling villagers in. Bump into them and they go flying through the wall and off into the desert, and the longer you stand on the bed the farther they go. So far it's only been a minor nuisance and is kinda hilarious.

This is happening to me as well. My Iron farm has 20 villagers in it and every night at least 10 get shot out of it in every direction. I had not had this happen until last night after the game updated.

I'm experiencing the same issue on on 1.16.100
When villagers try to enter a bed, they start drifting / glitching away and disappear. They normally reappear in the morning.

I have a double-spawner (zombies and skeletons). Now, when they drop into the kill chamber, they appear all over the room – instead of behind the retaining wall where they normally appear. That's awkward and makes it difficult to tell who's dead and who's not really there. The bigger problem is that I was nearly killed by an invisible zombie kid. Those guys are annoying enough when you can see them! I'm sure his visual representation was appearing a few blocks away but it must have been outside the kill chamber b/c I sure couldn't see or hit him!
I really hope this gets sorted out soon. I'm running out of non-villager/mob activities! 😉

I would like to stress that this issue is NOT limited to villagers in long rows of beds. I will be happy to provide evidence of single villagers in lone beds doing the same if requested, as I have it recorded already.

I'm not sure why that needed to be emphasized. Most of the screenshots and videos that include beds show single isolated beds.

"Description
When some villagers get in to bed, they go flying off the map. It seems to only happen when there are rows of beds right next to each other."
I am on mobile and images/videos appear as generic file icons; generally I have just a few minutes to check updates and the text is what's visible. I realise you are frustrated by the mass influx of reports, I hope you understand that I am only trying to help. Believe me if I could actually help fix the issues rather than just make reports I would.

No problem. I've added a clarification now that I understand where the confusion came from.

Can u please tell me why I can't play on servers with cellular data I have cellular data play active in the settings so why can't I play?.... This started happening when I updated mcpe to 1.16.100

@unknown: Your question isn't relevant to this bug report. Also, the bug tracker does not provide the kind of customer support you're seeking. (We're not Mojang, we only manage the bug reports and pass them to Mojang.) Please try searching for a bug report using the term "cellular", or you might prefer to ask at the Minecraft Discord.

Two additional things I have noticed:
The more entities there are to be rendered, the more likely it seems to be for the villagers and other mobs to stop re-rendering when you do one of the workarounds. Only one villager was completely de-rendered, the rest remained visually in one place despite workarounds; oddly the visual entities all performed the sleeping animation come nightfall but were otherwise motionless.
The problem seems to get worse the longer the player spends within render distance of the entities. The village I was working on was more or less functional with the occasional bed-slider at first, but after about an hour and a half all villagers were visually frozen in place and breaking their beds no longer reset the visuals.

I have also experience non-sleeping villagers teleporting after I came out of a Nether portal near them. The effect was not only visual as the villagers ended up dying in lava. I am not sure if this is the same issue or a different one.

Reading through the comments. Some have claimed the villager is still "there". Playing last night I experienced this on two occasions with some legacy farmer villagers (I have been trying to keep them alive for the egg trade). BLUF: Sometimes they are still there and can re-claim beds/jobs, sometimes they are completely gone and immediately replaced by breeder team. I lost my 2 golden carrot, 1 sharpness V and one feather falling iv villager.
Came to my villager trading area and noticed one of my breeder villagers was gone. Broke the bed and replaced and no sparkle particles. They are gone. In an effort to move an existing farmer to the breeding area, I placed a bed in an intermediate area and upon running near the villager, they rocketed into the wall. Grabbed another villager's bed and did the same thing, same result. Broke the 2 temp beds and replaced and got sparkles. So I've got both "invisible but stull there" and "completely gone" villagers. W/r/t the invisible-but-still-there, I left, re-loaded a few times and even closed the game and re-loaded and they were still invisible and unable to be traded with. They took an arrow to the knee and were immediately replaced by breeder team.
Side note, this infuriated the 2 golems that spawn in the trading area and their models were frozen in a corner but they could follow me around and attack me invisibly. Reloading the game did fix this issue and I was able to tie them up out of the way.
While trying to re-establish the now "gone" villagers, one of my librarians was jettisoned into the here-after by a chicken. This villager's bed was broken and replaced and no sparkles... Breeder team started work on replacing this villager immediately.
Until this is fixed, I guess I need to remove all chickens and cats and block off normally open single block areas that these mobs could use to get to the beds. I am only posting to make it clear that in some, not all, cases, the villagers are completely removed from the game (or moved so far out as to not be part of the village any more).

@unknown: This bug is only about sleeping villagers who float away, and whom you ultimately may no longer be able to find. We understand quite a bit about how this is happening now and can explain these symptoms. However, our current theory can't explain, and in fact, is pretty much incompatible with, villagers despawning or otherwise disappearing from the game.
One possibility is that the disappearing villagers issue is valid but is not linked to this issue. That is, it's a completely separate bug that belongs in its own bug report.
The other possibility is that it is linked, but our current theory isn't comprehensive enough to explain it. To cure that flaw, we would need to do experiments on how it can combine with the sleeping villager bug, which means we have to be able to reproduce this new disappearing villagers symptom...but we haven't been able to do that so far. If you can tell us how to reliably reproduce it, or even better attach a test world we can make it happen in, that would let us determine whether it's linked and should be added to this report.
Incidentally, the lack of green particles when you broke and placed the bed doesn't, by itself, prove that the villager who owned it no longer exists. There are a lot more conditions that would have to be satisfied before that conclusion is justified. This isn't the proper place to discuss it though.

I've just discovered something that may or may not be already reported. I skimmed through the comments to check and I haven't noticed the discovery I made, but I may be wrong.
Anyways, here's what I found:
While a villager was sleeping in a bed, I would be able to push it around as expected and mobs could do that, too. But if you keep following the villager's body and try to push it, it doesn't work. What I found was that you would only be able to push the villager's visual body around by moving on its corresponding bed, which explains how villagers could "fly" off as an entity is standing on a sleeping villager's bed which sends the body flying away. So what I can piece together is that the game thinks the villager's hitbox (sometimes you wouldn't be able to interact with floating villagers at all) is still on the bed, and when you get close enough to the villager on the bed, the game relays the action of moving the villager endlessly until the invisible hitbox is no longer making contact with an entity or player. When you have an area with many villagers, some could run into each other that are sleeping and send them flying off due to this. This is all I could put together and I apologize if this is repeated information.

I have the same problem and found that if it starts in one village then it transfers to others as well.
I have two separate villages and once one had the problem the other had it is well. I've had to put all of my villagers in boats so I can keep track of them. They also do not always return when they wake up but then might show up in the next cycle.

@unknown: Thanks for taking time to look for previous mentions. I learned what you described a couple days ago and was trying to document it here yesterday but got distracted and didn't finish. In a moment I will incorporate it into the bug description, along with a lot of other information about how sleeping villagers behave. It's mostly meant for the devs, but I'm sure you'll find it interesting as well.
@unknown: The issue is actually active all the time, in every village; it doesn't spread after an initial infection, so to speak. But I'm intrigued by what you say about them waking up and not returning. Can you provide a world and steps for me to reproduce that? If so, I can clean up some of what remains unexplained in other people's reports.

it does seem to happen when nothing totches the villager

My villagers are also floating away off their beds at night when I get too close and bump them. Some return when I sleep and others just vanish. I don't want them to vanish when I've named them.

@unknown: What "seems to happen"? Floating away from the bed? Disappearing? We know that even without being touched, a villager initially going to bed sometimes doesn't end up aligned on the bed, and can stop partway into an adjacent wall, or all the way through the wall, or maybe even under the bed. If this can explain what you saw, I don't think it's new information. If you watched it lying still and then saw it suddenly float away or disappear without being touched, that would be new.
@unknown: Your "vanished" villagers should come back when you reload the world. That's how this bug works. If they don't, please help us figure out how to reproduce your problem, because others have reported it and so far we can't reproduce it.

floating away from the bed. in my world where i was making a village the village flew out and maybe to the far lands if he had the time. and when it went to where he was sleeping another villager was next to where he was sleeping but to my knowaledge did not touch hime

I notice, reading these comments that the main feature of the bug is the ability to move villagers either intentionally or accidentally while they sleep. My issue is slightly different: I have watched villagers walking toward their house, stop and lay down, there on the path. I have had them scattered all over the place either flat on the ground or sometimes one block high, but there is no moving them. I have even tried clicking on them to wake them, but reading these comments, they clearly aren't there.
Today I was working in my house, next to the village and a floating body shot thriough the wall and straight through my face... it was very disconcerting.
There also seems to be a bit of freezing, occassionaly all but not always all villagers at the same time. Golems freeze in position too.

Contrary to what the observations states, I was playing on a multiplayer world and another player was able to see me interacting with the villager image and could move it as well at the same time

@unknown: Thanks for replying. Ok, but unless you saw the villager lying quietly in (or near) their bed, then spontaneously float away, it's easily explained by the other villager touching it while you weren't looking, especially if the other villager is still next to the bed. (Note that the visible floating villager can't be touched; only the invisible one in the bed can be touched.)
@unknown: The only time they should lie down is at bedtime, and when they're near their bed. You didn't mention the time and weren't clear about how close to their beds they were, but if those conditions are met, I'm not seeing anything new in what you describe. Are you sure you read the last section of the description above? I know it's long, but I think it covers everything in your comment (and everybody else's).

@unknown: I've seen hints about that in comments, but they haven't been explained clearly enough for me to incorporate into the observations. Could you explain in more detail? For clarity, please use the terms "statue" for the villager image and "ghost" for the invisible villager in the bed, and tell me what you did and what your friend saw. Note that "interacting" is too generic a term. Some of the ways you interact with a mob are detected by the client (the statue side), and some by the server (the ghost side).

Ok, so when the villager went to sleep normally in the bed I pushed the "statue" off of the bed and it started floating off and it stopped, my friend was able to see that , and from its stopped position my friend was able to push it the other way, and I was able to to the same to "statures" he pushed off the beds

EDIT: I was actually incorrect! Here's how I know villagers won't burn in lava if they are pushed due to this bug.
I dug a hole 2 wide, and 4 blocks long in the ground.
Created a lava moat around the hole, 4 blocks down.
Placed a bed at the bottom of the 4x2, with a villager.
Wait for the villager to sleep at night. Then I jumped down and bumped it.
Villager got pushed through the lava.
Wait until morning, the villager doesn't come back.
Break the bed you first put down.
Put down another bed.
You will see green sparkles for the villager re-binding. Even though you can't see it. (It was the only villager I spawned)
Save and Quit Game, reload the game, and the village is there, and alive.
Villagers wont burn in lava. (or so it seems)
[Original Post]
I have had some concerns about my villagers becoming burned by lava nearby. I have a village surrounded by a moat of lava.
Since this update, a few villagers have caught on fire. My librarian disappeared after being trapped in his house. I think he might of caught on fire and died.
Does anyone know if villagers bumping into lava will kill them? I need to go into creative mode later and check.
I am not 100% sure why they were on fire, but it's a good guess.

My bugs with the villager sleeping is that they sleep on the floor, or get glitched out through the walls next to the bed. Also, in addition to that I noticed that if you ring the town bell they lag severely when trying to go to their beds.

Here a video of this issue if it helps. Since you cannot see, there were 10 villagers to start with, so they are disappearing. When I exit the game and rejoin, they will come back though, so they are just turning invisible I guess. This is the link to the video, as it is too large to be put directly into the comment. https://youtu.be/jRpCr8SC0zs

@unknown: Thank you. I'm going to try to reproduce that myself using separate accounts on two devices.
@unknown: The client does all rendering, including animations. Because the latter involve a lot of redrawing, the client controls them autonomously because if it had to take orders from the server to animate, it would be very jerky. So I think the client detects when something flammable is near lava and gives it the fire animation. It then informs the server that the object or entity is touching lava, but the server doesn't know of any such object or entity at that location so it ignores the information. Since the server keeps track of damage, your villager is burning but doesn't accumulate any damage. As for the rest, I can't explain why when morning comes it doesn't self-correct. But then, I'm not a developer and don't have access to the details of mechanics. For yours and other comments, I'm starting to be persuaded that not all the workarounds I included above are completely reliable.
@unknown: The bell info is a good addition. I hadn't tried a bell before, but I did know that it normally causes villagers to immediately go to their beds. I found out it can also work as a workaround. I was in a flat world and floated a villager a good way out, then rang the bell. I watched as it spent a few seconds coming back to its bed, teleporting like an enderman.
@unknown: After viewing your video, it seems certain that the cramped quarters are causing you to collide with the villagers in their beds long enough, and for enough time cumulatively, to make them float away as far as the client can send them. (There's a limit to how far the client can reach.) They always disappear when they get that far. If you chase after one and manage to find it out there, you'll glimpse it briefly, and then it will teleport back to its bed. All of that is covered in the documented observations above, although it's broken out in such detail that you'd have to put it all together before this behavior would become obvious.

Experiencing same problem, BUT it may not only happening when bed is bumped. One villager just floated right past me in city square, not sure it was bumped at all. Also, lots of villagers sleep on ground and cannot be woken up or interacted with. Other villagers stand around like statues and cannot interact to trade and do not respond when being hit. Hostile mobs are hitting me even though I am standing multiple blocks away and not able to strike back. This is all new since 1.16.00. Also, lots of "dark" blocks/areas, which are well lit, right next to a torch, but appear pitch black.

I think the bug (MCPE-106652) where mobs (here it's Piglins) floating through walls is related to the same cause as here.

@unknown: I have resolved that ticket as a duplicate of MCPE-71243, which is (related to this ticket. There's a lot of overlap between those issues and the ones described in this ticket, and they probably have the same cause at a very deep level, but there may also be factors closer to how the game behaves on the user surface that account for their different manifestations, so we're tracking them as separate issues.
@unknown: This report covers sleeping villagers floating. They only move while some entity is touching their ghost on the bed. If you see one floating past you, chances are a cat is on its bed or, especially if you have the beds all lined up adjacent or separated by 1 block, another villager is stuck next to their bed trying to get to its own. Villagers behaving like statues is described already in the observations at the top. The invisible mobs hitting you is MCPE-71243. and the dark areas isn't related at all and shouldn't have been mentioned here, but it's covered in MCPE-69037 or one of the related tickets listed in it.

Glad this bug is being investigated, as the game is essentially unplayable at moment for us that have spent many hours building farms that rely on villagers. However, your temp fix below is still not useful for that same reason. I have key farms in my Realm - as do the other players - that need beds in a row to work. Any idea on a full fix date?

Additional comments, i noticed that the performance of game became quite slow after the one night during the villagers flying away BUG in my PS4 Pro. At previous version 1.16.61, i could play MC with my wife by split screen mode, however, at this 1.16.100 version, after villager flew away and disappeared, the game became much more stuck and slow even only one player.
Something like CPU was occupied to process the flying items. Hope could fix this bug asap. Thanks!

@unknown: Sorry, the bug tracker is staffed mostly by community volunteers, not Mojang employees. We have no inside information on a fix date. Also, software development is highly unpredictable at the time scale you're thinking about, which is why you never see Mojang announce a release with a date more precise than "Summer 2021".
@unknown: The performance issues you're talking about aren't limited to floating/disappearing villagers, so we're not tracking it on this ticket. You may want to watch MCPE-105892, which tracks general performance problems in 1.16.100, and/or MCPE-71243, which mentions it in connection with invisible entities of many types. Any lag that's being caused as a side effect of bugged entities (i.e. the issues reported on this ticket and 71243) will presumably go away when the entities are fixed, so doesn't need to be tracked as a separate problem.

I’ve observed this with single beds in regularly generated houses.

For me, whenever I'm too late to break the beds, they don't come back(most of the time)

I have only done one night and one row of testing but if you surround(1 block high none on top) the beds with blocks the villagers seem to stay in place

Cannot reproduce in 1.16.200.57, pushing the villager does nothing and the villager just sits there.

@unknown: Yes, that would be because no entities can stand directly beside the bed to come into contact with the sleeping villager. Except that they can climb on top of the sleeper, something cats in particular love to do. I tried surrounding a bed with oak planks, then climbed onto the planks and stepped onto the villager. It floated away.

Please read before commenting or adding attachments
DO NOT ADD "ME TOO" COMMENTS OR ATTACHMENTS THAT JUST DUPLICATE WHAT HAS ALREADY BEEN REPORTED. Use the "Vote for this issue" link above instead.
For an explanation of how to use comments and attachments, please see the Bug Tracker Guidelines.

On Windows 10 PC Bedrock v1.16.200.57 Beta, I climbed on sleeping villagers and pushed on the beds none of the villagers floated away. I have not tried the planks, but I previously could nudge the bed and the villagers would zip away. If it is not fixed, it works better than previous 3 Betas. Thanks 🙂

MCPE-71243, which is closely related to this issue, has been fixed in 1.16.200.57 Beta. We have been speculating that these two reports had the same underlying cause, so hearing that this issue seems to be fixed as well would seem to confirm it.
I am adding the fix version to this issue based on this advice. If anybody has an example of this issue still happening in the Beta release, please leave a comment. Otherwise, we can expect this issue to be fixed in the next full release (no date can be given).

I have been able to reproduce both of the above mentioned in this section: "Other reported observations, not reproducible:"
To reproduce, create some sort of farm( i used carrot) and contain it with ceiling, floor, and walls on all four sides (not allowing any villagers to escape). Now place 10 villagers, 10 beds as floor blocks allowing for 2 blocks above before roof, and one composter. Then set time to night. Now just monitor. If no villagers despawned or got "lost" then the villagers would not breed as all beds would be taken. To further prove this, control the food and when a villager is lost after nighttime, close world and reopen, and you will see that if you give villagers food again to breed they will do so, because a bed is no longer associated to the lost villager even after reload.

Since this bug, I made each of my librarians their own 2x3 bedroom and there are no cats present, yet they are still not engaging in normal sleep. The ones in my other area are flying out of their beds when bumped but this lot aren't being bumped, unless they are going into the wrong rooms at night? I honestly don't know what else we can do. Especially given that people whose villagers are in trading hall stalls, with no bed, still report disappearing villagers. Wasting so much gold on apples...
ETA: 2020-12-11 I updated the game following the patch yesterday and am no longer having issues.
[media]
Tested again after seeing update (mobile version).
Error still present. Cannot reproduce situation where error did not happen.
I tested by creating 2 beds in flat world, beds right next to each other, nighttime, spawned in villager (kid), who went to bed. Villager kid turned around on the bed, ending up placed "askew" on the bed. I spawned in next villager, who connected to bed and went to bed. No flying happened (possibly because kid villager's hitbox is smaller). Made a third bed placed right next to sleeping adult villager. I spawned in a third villager, this third vilalger connected and went to bed right beside the sleeping adult villager. Both of them went flying. Kid stayed in bed.
To conclude that it seems error is not fixed by latest update.

@unknown, @unknown:
You didn't mention what release you tested. As I said above, it has only been fixed in the latest Beta release. If you performed your tests against 1.16.100, it's expected that the bug will still be present.
@unknown: I can tell from the screenshot that you're not using the Beta, so again, it's expected that you're still affected by the bug. I also still experience it, and my results are similar (though maybe not quite as frequent). I think it may not be obvious from the description above, or even from the comments, that the contacts that cause them to float off their beds can come not only from players, cats, or golems, but even from other villagers. My own trading hall is somewhat similar except that my cells are slightly longer and the workstations are inside the cell, next to a corridor where players (i.e. me) can go to trade. One thing that happens to me a lot is villagers will randomly "visit" each other's cells. When it's time for bed, some cells may have 2 villagers in them. One lies down on the bed and the other brushes against them trying to get out the door, which sends them flying. Could that be what's happening to you?
It's also possible that a villager might spontaneously slide away immediately after lying on its bed. I have observed it happening only when I was inside a cell, very close quarters, and it's hard to be certain I wasn't touching them myself, so I haven't yet concluded that it was really spontaneous.

Auldrick: Strangely, the latest version removed the option for "Experimental gameplay". (instead, it gives three options for holidays, DIY biomes and modding options) How do I turn on Beta testing?
EDIT: I tunred on all three options mentioned above. It respondend that it was activating beta options. I confirmed. Then created world as above, two beds next to each other, two villagers, both goes flying as soon as they lie down.

I have loaded the Beta textures and still am experiencing sliding villagers. I immediately noticed this issue as soon as I downloaded and ONLY after starting to actually play the new Star Wars texture pack. I had it installed for a couple of days without playing on that texture without having sliding villager issues. As soon as I loaded the new pack and loaded it, I noticed the transformed in game villagers sliding across the landscape. Re installing and trying to reset all of the saved data is not working. I have made sure that the newest and beta texture packs have been loaded a separately as possible from each other with continued results.

@unknown: Oh, no, no, no! What you turned on were experimental features, the equivalent of the Experimental gameplay option but just broken up so that if you find a problem with one, you can turn it off and still test the others. Those are finished features that need more intensive testing by the community before they're released officially. And the current features are intended more for Marketplace partners than regular players.
You don't turn on Beta testing, you have to join the Beta program and download a Beta release. Not all platforms are supported, which may be why you didn't know about this. The Beta is only available for Windows 10, Xbox One, and Android platforms. If you're on one of those platforms and want to consider joining the Beta program, be sure you understand the consequences first. Otherwise you could lose worlds forever that are important to you, or get stuck in the Beta and be unable to leave the program for a while. (Joining the program is easy, but leaving it can be troublesome or at least inconvenient.)
The Beta program is meant for testing only. It's best if you can dedicate one device to Beta testing and have another for regular gameplay. I recommend talking to people on the Minecraft Discord about the implications before you commit yourself to the Beta program.
So, back to this bug. It has only been fixed in the Beta release. Once it's had enough testing to help ensure it doesn't cause an even worse problem, the fix will be incorporated into the next full release, and at that time it will be fixed for all of us. We will close this ticket, resolving it as "Fixed" when that happens.

@unknown: When you say you downloaded the Beta textures, it makes me think you downloaded a texture pack from the Marketplace. That's not the same thing as installing the Beta and it won't get you the fix. See my reply to Johan above.

[MCPE Mod] Auldrick: Just to say thank you for the information. And to confirm I have not tried on Beta then. (though I do not understand why it says beta is active when it isn't, but that is not to be discussed here). Glad to hear you're on your way.

Johan: I didn't realize the game actually calls them beta features. That's why you saw that word. Anyway, they are a small number of features from the Beta version that are ported to the full release early. Mojang claims they do this for features that need extra testing before being officially released, but I suspect (based on the names of their toggles) that in this case, it was a way to give third-party developers access to some tools they'll need for features that are still in Beta, or that will only be in the game for the holiday season.
I'm going to mention to Mojang that the word "beta" caused confusion in this context. You may not be the only one who was confused, and they may want to change it.
(BTW, "You" in your last sentence is probably meant to address Mojang. As info, the bug tracker staff is not Mojang, we're just volunteers from the community.)

Hellooo, help? 😅 im German and this texts are quiet difficult to understand... How do i get rid of this issue??? Ive it on a realm on xbox....

@unknown: Be patient. You can't get rid of this issue right now. We expect a fix in a few weeks, if nothing bad happens before then.

Possibly linked to MCPE-108525

I just uploaded my video. I'm having this problem specifically when two or more beds are placed with each other and the villagers get in the beds at different times. Then one villager will bump another. I've had villagers disappear and then reappear later or. disappear completely. Looking forward to the fix.

This happens to me too much. But mine is a little stranger, any other mob can push them, but if I stand on the bed, they get pushed completely out and start moving away. It would be ok if they just kinda went over a little. But, the longer I stand on the bed, the farther they go way. I have pushed a villager about five hundred blocks away in a few seconds, by standing on their bed. This is getting really out of hand and has completely ruined all of my villager related projects. This goes hand in hand with the fact that they are also disappearing as mentioned on another issue.

When the villagers are pushed out they act like they are moving on their own but they are still sleeping.

Suggestion for workaround: Encase villagers in glass or fences. Floor must be glass. Glass floor prevents cats from spawning and glass or fence walls prevent interaction with other mobs, effectively hindering the glitch since nothing will get close to them. You may wish to leave open a single block to be able to trade with them (and close with a trapdoor). My world is very prone to the error, but this fixed my trading hall at least.

I agree with @@unknown ...that encasing villagers for now is a good workaround.
When villagers are in their beds, encase them in glass. Here's what I did.
B = Bed (takes up 2 blocks) F = Fence S = Slab FS = a fence post, with a slab on it G = Glass
B FS FS B FS FS
B FS FS B FS FS
G G
1. Put a bed down. Let the villager sleep.
2. On the side's of the bed, put down two fence posts, with slabs on top of them.
3. Put glass, all the way to the ceiling on the front of the bed.
You can break the middle glass in the front to interact with them if you need to.
The fence posts + slabs stacked on top prevent anything from bumping into the villagers. It's like a protective bubble. The cats are the worst offenders for moving villagers I think.

I have a trading arcade rather than a hall, and it works pretty well. Each villager has its own cell with a bed and workstation. They are structured as shown below (I removed the roof), one picture from each end:
[media][media]
From from the back of the arcade:
I chose to give my villagers doors so they could participate in the village gathering late in the day. (The gathering is how I get them all in one place so most will discount their trades when I cure a zombie village, underground under the bell.) But it would work just as well if the doors were solid walls.
In regard to stray cats causing a problem, a simple solution is to befriend them and sit them down somewhere away from the beds. You can see them at the top of my second screenshot above.
This configuration solves most of the problems. The villagers (even those not in the arcade) all sleep indoors, so wandering traders and golems can't bump into them, and each bed is in its own cell or house so they can't bump into each other as they're getting into bed. The only thing it doesn't solve is that sometimes villagers don't (visually) end up in the right position; they lie down halfway through the door, or half of them is floating in front of the bed. But they're safe from attack and they'll be fine after they wake up, so I just avoid getting too close and I don't have any major problems from this bug.
Incidentally, you may notice my grass paths going everywhere. When villagers are pathfinding to their bed, bell, or workstation, they prefer paths and slightly avoid jumping up or down a whole block. Once you know this, it's easy to see when you watch for it. So give them paths and stairs (or slabs acting as wide stairs) wherever you want them to go.

ere a limit for how far the villagers can go?

@unknown: It's unknown. They have been seen to disappear at some distance, then reappear and teleport back to their beds if you approach them. On the other hand, there have also been reported as lost from the game sometimes, or lost from the village, and these effects might reasonably be consequences of them going especially far. We anticipate at this time that the fix applied in the Beta and coming in the next regular release (if all goes as expected) will stop it altogether, so distance will no longer be a factor.

*This issue is believed to have already been fixed*
A fix for MCPE-71243 has been applied to the 1.16.200.57 Beta release, and it appears to have fixed this issue as well (which we suspected it might do). Unless a problem is found with that fix, it should be included in the next regular release. Therefore, there is no point in reporting this issue in 1.16.100 any more. It isn't needed or helpful and nobody is going to read it, so you might as well save yourself the trouble of writing it.
Of course, if you still find this issue occurring in the Beta or in the next regular release, we certainly do want you to tell us about that, because that means the fix is faulty or incomplete.

If you want a more simple solution try sticking boats next to beds... even the invisible villagers will get caught in the boat..
Im just leaving mine in boats until a patch is made for this issue.

@seth peek Agreed! I learned last night placing boats is a great way to make the villagers appear. I have also placed the beds up in the rafters which forces villagers to stand through the night.

I didn't see my villagers "fly away", but they just all disappeared at one point. Whole village. Does this apply to this bug?

I'm experiencing the same thing as Alex Mercer above.
Villagers disappear after going to bed. If I log out and log back in, they reappear or if I walk away some distance and come back they reappear. I've also see this happen with an entire village. I came across the village that looked active but there were no villagers in it. This was before I realized they were disappearing. Another player went to the same village later and all the villagers were there.
Is this the same issue or do we need to open a new ticket?

We can't tell if it's the same issue, because either this issue or MCPE-71243 might explain what you're seeing. However, I think it's probably the same issue, and I'd recommended waiting for the fix to come to the regular (non-Beta) release. (I'm assuming you're both using the regular release because a fix has been implemented in the recent Betas and we haven't had any reports that it doesn't work.)
Sorry, I can't give you a date for the next regular release, although I have a hunch it will arrive within the next 10 days.

I'm having the same issue. It is NOT "fixed".

@unknown: Have you updated to 1.16.200? Give us your details, please: Platform and version number.
By the way, it typically takes about 1 extra day for Realms to get updated, so you might have seen the problem on Realms at first, but it should be better now.

PS4 updated yesterday to .200. I did not see this issue at all, nor the "suspected" related issues with other entities. Played for a few hours last night. Things that seemed better:
Villagers weren't Insomniac Supermanning all over the map. They were in their beds. I even let the cats roam free and they didn't rocket my mending dude off in to the ether.
Minecarts for farm item collection ran without pause... There were times where all entities would "freeze" visually, but were still active (picking up items, or golems attacking me when they thought I hit a villager). I didn't experience this once last night, and it was a common occurrence
Packed animal farms (chicken cookers, cow breeding) had zero entities visually glitching out of their containment zones. No warping chickens/cows through my base. Same for mob farms with packed mob collection areas.
Overall visual performance was MUCH better. .100 update had been super laggy/unstable with split screen and others joined on world hosted on PS4.
Overall, small experience with .200 last night. Massive improvement over previous update. I have not gone into creative to try to force the issue so can't 100% say fixed, but it feels fixed.
[edited for clarity on last bullet]

Got on my laptop to see if this was indeed fixed, however, the latest update for Bedrock windows 10 (1.16.200) rendered the game unplayable as I am unable to get past a flashing red and black Mojang screen (Bug No. MCPE-102350). Just for the record, the Android version of the game still works fine.

updated to 1.16.200 yesterday, villagers are fixed. android app.

I can confirm that this is now happening in 1.17.32/1.17.30.

On a server playing bedrock version latest version of 1.17 and sometimes villager is sleeping on steps of building not in bed, Yet someone else sees them as being in bed. However it cant be lag as we sitting right alongside each other both playing on the server on separate laptops using the same router

This is still happening but only certain people can see it on realms like Robyn Said.