If a player and a nearby mob perform a long-distance teleport using the teleport command at the same time, the mob will go crazy. Specifically, the situation is as follows.
Mobs can move, but they become invisible and sound does not play properly.
Unlike the "effect : invisibility", the armor equipped by mobs also disappears.
We can deal damage with a bow and arrow, but the player's melee attacks won't hit the mob.
It will be knocked back by bows and arrows, but will not burn by "Enchant : Flame".
And other conditions.
It occurred at a distance of about 300 squares or more.
Confirmed on Windows version and iOS version.
This did not occur in versions prior to 1.21.30.
*In the attached video, particles are emitted to all entities as landmarks.
Attachments
Comments 12

1.Create new flat world(mob spawning : false)
2.Run command
/summon cow
3.Run command
/tp @e ~~~300
4.Run command
/tp @e ~~~-300
Possible with mobs other than cows.
1.Create new flat world(mob spawning : false)
2.Run command
/summon cow
3.Run command
/tp @e ~~~300
4.Run command
/tp @e ~~~-300
Possible with mobs other than cows.
On ver.1.21.41, the bug's occurrence conditions has changed.
The bug doesn't happen on previous step. Now, the bug happens only that conditions as written below.
"Player and any entity teleport long distances, on same time, to ticking area."
The distances vary depending on "setting:Render Distance".
The bug doesn't happen on any entity, for example, boat, EnderDragon.
Invisible entitys fix by leaving away horizontally, or quit the world and load the world.
I'm very troubled by the bug. I wish you good luck.
On ver.1.21.41, the bug's occurrence conditions has changed.
The bug doesn't happen on previous step. Now, the bug happens only that conditions as written below.
"Player and any entity teleport long distances, on same time, to ticking area."
The distances vary depending on "setting:Render Distance".
The bug doesn't happen on any entity, for example, boat, EnderDragon.
Invisible entitys fix by leaving away horizontally, or quit the world and load the world.
I'm very troubled by the bug. I wish you good luck.