mojira.dev
MC-91236

Player invisible on servers

Player will randomly become invisible on servers.

Even if they are wearing armor the other players can't see them. Particles generated by the invisible players (fall damage, hearth, potion effects, etc.) are invisible too.

When you are affected by the bug, you can't see your armor points and you don't any of your sounds (fall damage, taking damage, burning, etc.). You are also immune to melee damage dealt by other players, but you still take damage from arrows although you don't get knocked back. Spectators can not teleport to invisible players and boats used by invisible players will act strangely.

The only known way to fix it is by having the player to relog or kill him.

The bug is about chunk loading on a server. If a player gets teleported in an unloaded chunk, he will become invisible most of the time. If you teleport another player in the same chunks as the first one, he won't be invisible because the chunks are loaded by the first player. If you teleport a player at least 1 tick in the spawn chunks and then teleport them somewhere else they won't become invisible. This could be used as a temporary fix for map-makers.

https://www.youtube.com/watch?v=NLEH_Mzcm6w
https://youtu.be/RL6pmNHjPfo

Related issues

Comments

migrated

This is a common glitch on 1.9 servers and if you want to know if your one of the invisible then some sound effects don't work. For example, falling in lava & jumping from a high place with that leg break sound doesn't work when your invisible. When we mean invisible we don't mean by the effect, but as in the fact no one can see you. The only way we can get people to get out of this state is if they re-log from the server. I have tested this on many different servers and different snapshots so the bug has been here a while and is real.

migrated

I have also seen this happen while making maps in the snapshots. Teleporting players large distances seems to trigger it for me. Multiple players will be teleported from one map to another and become invisible/intangible to others. The only solutions for me have been using /kill on the player (when they respawn they are fixed) or having them relog.

migrated

Yeah I forgot about that. Since Ao added particles quite a bit of invisible players has been killed and when they respawn they are visible.

migrated

This bug is still existent in 15w46a, Please update the affected versions.

migrated

Updated

chokoboy3

The bug is still here in 16w03a.

migrated

Also some sounds don't work when you in the bug like fall damage and burning in lava.

migrated

That's right I forgot that.

migrated

Thanks for the help, if you find anything else, write it down in the comments and I'll add it to the post.

chokoboy3

This is still a bug in 16w06a. Please update this thread regularly or it might not be fixed before 1.9.

migrated

This bug is currently in 16w07a as well. By the way I know how to replicate the bug. It has to deal with loading chunks on a server. If someone loads chunks by using TP command they will become invisible most of the time. If a second player teleports to the same chunks the first player is already at the second player will not become invisible because the first player is loading those chunks. That's all I know and I can replicate on my server very easily.

migrated

Thanks AoElite, I've updated the thread.

chokoboy3

Still there in 1.9 pre-release. Hopefully they'll fix this before next week when the full release comes.

chokoboy3

This affects 1.9 pre-release 2 too

migrated

While in this invisible state your also invulnerable to other player's damage.

migrated

Are you sure about that? I've killed many invisible players by clicking randomly in the air and throwing splash potion at them.

migrated

Everything does damage to them except melee combat from other players.

migrated

Weird. I used to be able to kill them with melee but I'll add it anyway. Could you just verify that please?

migrated

Oh and check if they can be hurt by arrows shot by other players.

chokoboy3

In 1.9 pre-release 4 they changed something so now it will only occur if the player is teleported into whole new chunks.
I've made a video to show: https://www.youtube.com/watch?v=NLEH_Mzcm6w

migrated

please fix this before 1.9 is released, its been in 1.9 servers every since the snapshots started to come out.

migrated

Thank you for the video it's really helpful. I'll add it to the issue. You said that players become invisible when they are being teleported in unloaded chunks. So could you simply load a chunk with a Portal Gateway like this?: https://www.youtube.com/watch?v=pyqzxn0e9Jw

And if you week I've got the whole week off so we could try to experiment the bug a bit more to get more details. Thanks a lot for your help.

chokoboy3

I hate to say it but this bug is still in 1.9 the full release. It seems servers wont update before 1.9.1 :/
And I've found out that if you teleport a player to spawn chunks for at least 1 tick before you teleport them anywhere they will not become invisible. That's a kind of solution but not a fix.

migrated

Thankfully, the flood of duplicate bug reports resulting from this bug being in a "stable" major release of Minecraft will knock some sense into the devs & force them to look at the bug that they're all duplicating: this one.

migrated

@alexander Thompsen:

Watch the devs look at your comment and go like "well that sounds like a great fix to us!".

migrated

Are you sure the teleporting to a spawn chunk and back will work? I have a perfect system to make you invisible, so I'll test it.

chokoboy3

It also seems that elytra flying doesn't work either.

migrated

You meant the elytra doesn't work when you're invisible or you can't see the elytra?

migrated

When I teleport two players to a location that is ca. 200 block far away (render distance: 12), they get invisible. Tested it in a lan world flat map at coordinate 0, 0 and teleported @a to 0, 250. But if I tp them separately they didn't get invisible.

migrated

When you teleported them separately did 1 of them become invisible and the other was fine or they were both visible? It looks like the bug has something to do with chunk loading. For exemple if you teleport a player into an unloaded chunk, he will become invisible. But if you teleport another player while he's still in the chunk he won't be affected because the chunk is loaded.

migrated

I've uploaded a video that show, how the bug occurs to me.
https://youtu.be/RL6pmNHjPfo

migrated

The bug is activated by teleportation, in both videos, so this is a duplicate of MC-92916, which already mentions players becoming invisible.

migrated

Thanks for the video Janis, I'll include it in the description.

migrated

This issue has resurfaced on my vanilla server after the update to 1.12. Players will randomly become invisible and cannot be teleported to through the spectator menu and will not become visible until they relog or are kicked.

Traveling to the end and teleporting seems to exacerbate the issue.

Was unsure whether I should comment on this issue or try to create a new bug.

migrated

Can confirm it still exists in 1.12 as well. I can provide photo's if needed.

migrated

Am encountering this bug as well. We are experiencing this issue with multiple players at any given time.

migrated

This is a duplicate of MC-92916, and that's already marked as affected there.

migrated

This bug is the only thing keeping me on 1.8.9 when playing on servers. Mojang should take note - I might not be the only one.

 

migrated

(Unassigned)

Community Consensus

Minecraft 15w43b, Minecraft 15w46a, Minecraft 16w03a, Minecraft 16w07a, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 4, Minecraft 1.9

Retrieved