Moved from MC-12989
I've reproduced this issue on Minecraft 1.16.4. The chat, bossbar and tab screen are from the previous server, while the world, gamemode and position are of the current server (possibly other stuff belongs to one server or the other, this is what I could find so far; previous server is the server I joined, but quickly cancelled and current server is the server I joined after the cancellation of the first server). A side effect of this glitch is that I'm in "noclip"-mode: I can go through the terrain as if it's not there, while still seeing the terrain and being in creative mode.
Reproduction steps:
Join one server via Direct Connection and quickly press the Cancel button
Join a different server from the server list and wait until you're in the server
The two servers are merged in the way as stated above
While doing this I had the client game log screen opened (enabled from within the launcher), so the game log printed there can be found in the latest.log I've attached to this issue. I've also taken multiple screenshots while in this mode which I've also attached, showing various effects caused by this.
[media]The "noclip"-mode allowing me to go directly into the ground
[media]The chat: the top lines are from the previous server, while everything below is from the current server
[media]The tab screen from the previous server
[media]The bossbar from the previous server
In all these images, the world that can be seen in the background is of the current world.
Edit: Some more information. I cannot interact with the world in any way: I cannot place or breaks blocks, spawn entities via spawn eggs, bonemeal grass blocks, use flint and steal, shoot arrows (the animation plays, but no arrow is shot), use a trident or interact with doors, beds, chests and shulker boxes; hitboxes for blocks are missing. The client does seem to know where blocks are, because when trying to use a spawn egg, it correctly shows the arm swing animation when looking at a block, while not showing this animation when right clicking the air. Chunks don't load as normal: I can move through the world, but after a certain amount of chunks, they stop loading completely. When going too far outwards (roughly half an unloaded chunk), all chunks that were visible disappear completely. The permissions from the previous server also carry over to this one, I am operator level 4 in the current server, yet I can't execute commands which require such an op level. The only commands I can use are commands from the previous server. Trying to execute those commands doesn't (visually) do anything. Chatting doesn't show my chat message. The social interactions screen also shows the players from the previous server, but shows the current server as the host name.
[media]My armor of the previous server is also transferred over to this server. I've amended a screenshot to show this. (The effects are from the current server after eating an enchanted golden apple, this is as intended.)
[media]After rejoining my armor items and items in my inventory (I put one piece of armor in my normal inventory, left two in my armor slots) stay in my inventory. This is potentially problematic, as then I can transfer armor from one server to another. (I could for example, get myself overpowered netherite armor from a creative server to a survival server.) This might warrant raising the priority of this issue or making this private.
[media]Fixed in version 1.9.1-pre-release 2
[media]Confirmed for minecraft 1.8.8 (server tested)
Confirmed in Minecraft 1.8.8
Not really, it's just everwhere and it doesn't happen all the time. Just sometimes
This "bug" is because your resource pack is out of date. Download the resource pack for 1.8 and you will see that it's all normal again.
Gary Closse, in 1.8 the bug still is unsolved, because I have to same bug and it's really annoying
I've moved my comment and attachments over to MC-74984, I'll delete them from here.