Introduction...:
I was playing on an LAN world that used /spreadplayers to initiate a PvP area. However, sometimes when the players are spread, they are invisible, even though they do not have the invisibility effect. The players were on a team, but nametagVisibility does not affect it, nor does seeFriendlyInvisibles. All of the players have resistance 5 (lasting for 2 seconds, which then switches to resistance 2), and saturation 101 (lasting 1,000,000 seconds).
The 5 /spreadplayers commands are:/spreadplayers 247 465 10 13 false @e[team=Prepared,c=5,r=20]
/spreadplayers 190 329 10 13 false @e[team=Prepared,c=5,r=20]
/spreadplayers 266 148 4 6 false @e[team=Prepared,c=5,r=20]
/spreadplayers 116 170 5 7 false @e[team=Prepared,c=5,r=20]
/spreadplayers -139 65 10 15 false @a[team=Prepared,c=5,r=20]
I used @e so I could test with cows.
What I expected to happen...:
The players would be able to see each other.
What actually happened...:
The players were invisible.
Steps to Reproduce:
Create a World
Open it to LAN
Have Someone Else Join
Use /spreadplayers a Few Times (seems to happen about 30% of the time)
Try to Find Other Players
Note: May be MC-48827, but I haven't noticed it until 1.10.
Related issues
Comments


I don't think it is because the chunks are loaded when the players are spread into them. I am testing to see if this bug is still relevant.
This might be MC-92916