mojira.dev
MC-142114

Joining the world outside of the spawn chunks results in client side desync

The bug

When joining the world outside of the spawn chunks, it seems that the player is not tracked and results in the same client side desync as MC-92916.

The side effects, listed in MC-92916, include being stuck in bed, not being able to deploy elytra, lack of damage sounds, etc.

Steps to reproduce

  1. Teleport yourself outside of the spawn chunks

    /tp 10000 100 10000
  2. Leave the game and rejoin the world

Try any of the issues mentioned above.

  • Set the time to night, sleep in a bed, and attempt to leave it
    → Notice you are stuck

  • Try to fly with an elytra
    → Notice it does not deploy

  • Set yourself to survival mode and take damage
    → Notice there are no sounds

This seems to be caused by the game putting the player in the world before the chunk is loaded. As a side note, it is noticeably quicker to join the game while in the spawn chunks than it is to join outside them.

Related issues

MC-140840 Softlock after sleeping MC-141893 there isn't a sound while i'm losing health MC-141917 Player get freezed after relogging to a world with a lot of generated terrain MC-141966 Stuck in bed after sleeping MC-141971 Elytra not working in 1.14 snapshots. MC-141972 Bed Softlock MC-141975 Missing Backspace MC-141976 Bed+Viliger bug MC-141977 Missing sound effects MC-141994 Elytra not activating MC-141999 Sleeping prevents game from continuing MC-142008 Elytra won't glide in survival MC-142010 I cannot fly with my elytra MC-142012 I am stuck in bed, I can't leave the world, I can't get up... MC-142022 @e selector cannot find players anymore MC-142039 wen i sleep i can't press leave bed MC-142049 No fall damage sound in nether MC-142052 Fire & Lava don't catch you on fire in nether MC-142068 When you wake up from bed the "leave bed" button and chat are still visible rendering you unable to move at all, only got out by closing the game. MC-142085 Unable to wake up MC-142099 fix it pls MC-142101 Elytra use is sporadic MC-142116 Sleeping in bed at night then can't get out at day MC-142129 In 19w02a Java Edition, cannot wake up from sleep. MC-142135 Left-handed option for character being ignored. MC-142145 Pressing ESC in a bed MC-142146 Sleeping screen after sleep MC-142172 Other player in LAN is invisible MC-142182 going to bed MC-142183 Cant leave bed or open menu after I sleep MC-142188 Player doesn't 'wake' after sleeping in a bed MC-142194 Can not wake up from bed, 19w02a MC-142198 hurt and death sound not working MC-142201 Stuck Sleeping In Bed MC-142202 Multiple Bugs MC-142224 i can't heart the sound of losing health (minecraft:entity.generic.hurt) for exampre, when i fall off and i take damage or when i underwater and i don't have air to breathe. MC-142225 i can't sleep or leave the bed while i'm on the bed... MC-142227 Player Moving While Sleeping Bug MC-142249 No sound when taking damage MC-142253 No sound when taking damage MC-142267 Stuck on "Leave Bed" Screen after Sleep / Cannot get out of bed! MC-142286 Armor and elytra not showing up / working properly MC-142287 Elytra cannot be used MC-142288 I can't fly with fireworks with elytra MC-142306 Can't Get out of Bed MC-142309 Stuck Sleeping MC-142312 Game freezes after going to sleep in bed MC-142316 Unable to exit bed after sleep MC-142333 Im getting stuck in the "leave bed" menu after sleeping through the night MC-142341 Not Waking Up MC-142344 Arrow ownership not working properly MC-142345 Armor points not appearing in the nether (armor still functions) MC-142346 Visual/Audio glitches in nether MC-142347 when you get kicked out of a bed you will get stuck lying on the ground MC-142350 Couple bugs from 19w02a Snapshot. MC-142353 Bed Bug in 19w02a MC-142361 Bug after sleeping in a bed MC-142381 Wake up bug MC-142396 Can't leave bed after sleeping MC-142405 Speed Effect not Working on Nether MC-142416 No damage sound in previous worlds MC-142419 To put it simply, when going to sleep in a bed, there is a chance that pressing the "Leave Bed" button will not work. Pressing the ESC button doesn't work either. MC-142421 Can't leave bed MC-142450 Elytra Not Functioning in Overworld MC-142457 Can’t get out of bed after sleeping through night cycle MC-142470 When I sleep in a bed i can't get out of it MC-142491 Armor bar not there, despite having armor equipped. Elytra not working either. MC-142505 No waking up after sleeping in bed MC-142508 Bed in 19w03a causes game freeze when it's time to wake up. Locks on leave bed screen.

Attachments

Comments

migrated
[media]
migrated

Issue can be reproduced during multiplayer.

Only the host is affected by this bug. Additional players can sleep and hear sounds normally.

 

migrated
  1. Minecraft: Java Edition

  2. MC-142224

i can't heart the sound of losing health (minecraft:entity.generic.hurt) for exampre, when i fall off and i take damage or when i underwater and i don't have air to breathe.

this is the description of another report but it was a duplicate of this one

 

migrated

Annoying bug. Easily reproduced in 19w02a in large biomes world using 20+ chunks render distance.

 

Travel to a village and try to sleep there, or travel to spawn point from said village and you will get stuck in bed. It is twice as annoying for players who play on hardcore exclusively.

 

One of easier solutions to avoid it is to change render distance. To update it. You can even set it to be 19 and then to 20 chunks again... and you will not get stuck in bed.

migrated

Changing the render distance did not work for me; still got stuck in bed.

migrated

The "stuck in bed" bug persists in 19w03a

migrated

elytra work fine in the end, but not in the nether or the overworld

 

EDIT: teleporting to the spawn chunks doesn't fix the issue unless the game is closed and reopened

migrated

For me this is happening in multiplayer. Resetting the server does not clear the issue. (19w03a)

migrated

Thank you team!

migrated

THANK YOU TEAM!!!!!!

migrated

Confirm the bug still occurs though perhaps not as frequent.  I encountered the issue with beds again after going in and out of the nether.

migrated

My new 19w03c world was working fine (beds, etc) until I built a nether portal and entered. Upon return to the Overworld, I got stuck in my bed.

migrated

19w04a: I just got hit by a blaze fireball and didn't get any fire effect or damage sound, as described in MC-142346. This bug is not fixed or MC-142346 is not a duplicate of this bug.

[Mod] Neko

@unknown: Your issue is MC-92916 then.

[Mod] Neko

Fry

Confirmed

Minecraft 19w02a, Minecraft 19w03a

Minecraft 19w03b

Retrieved