PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.7k stars 2.27k forks source link

Teleporting to unloaded chunks results in chunks loading incorrectly for clients #4342

Closed thenameisKO closed 2 years ago

thenameisKO commented 4 years ago

What behaviour is expected:

Teleporting using features in plugins such as /home, /rtp, or /spawn should result in the player landing on solid blocks where the teleport location was set to be.

What behaviour is observed:

Players and staff have experienced issues with teleporting where a user can perform /home or /rtp to an unloaded chunk; the chunk seems to not load properly on the client-side for multiple users, sending them into a "void" where no blocks are loaded and no commands/chat functions can be performed. Relogging allows the user to load in the chunks properly but this is inconvenient and many younger players do not understand what is going on when this happens.

Steps/models to reproduce:

  1. Teleport to an unloaded chunk (may take a few tries)
  2. Observe no blocks or entities loading, player model seems to be falling through the void but takes no damage.
  3. Log out of the server and log back into the server to load the chunks properly.

Plugin list:

AddLight, AntiXRay, ArmorStandEditor, AsyncWorldEdit, BeastWithdraw, BlockLocker, BountyHunters, BukkitCompat, BuycraftX, ChatControl, ChestShop, ChestSort, Citizens, CMI, CMIEInjector, CMIPaperLib, ConsoleSpamFix, CoreProtect, CrateReloaded, DiceFurniture, DiscordSRV, EpicRename, FurnitureLib, Gatekeeper, GriefPrevention, HeadDatabase, IllegalStack, Jobs, LibsDisguises, LimitPillagers, LiteBans, MobArena, Multiverse-Core, MyCommand, MythicDrops, PacketListenerApi, PermissionsEx, PhantomX, PhatLoots, PinataParty, PlaceholderAPI, PlaceItemsOnGroundRebuilt, PlayerHeads, PlotSquared, PluginLibrary, ProCosmetics, ProtocolLib, PvPManager, React, SelectionVisualizer, ServerListPlus, Shopkeepers, TitleManager, TrollCommandsPlusPlus, UltimateFishing, Vault, VeinMiner, Vivecraft-Spigot-Extensions, Votifier, VotingPlugin, VoxelSniper, WorldBorder, WorldEdit, WorldGuard, WorldGuardExtraFlags, xInventories, xRay

Paper version:

This server is running Paper version git-Paper-202 (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT) Checking version, please wait... Previous version: git-Tuinity-"598986c" (MC: 1.16.1) You are running the latest version

Anything else:

As there are also issues with items taking multiple seconds to stack properly, this MIGHT be an issue with how Paper is handling asynchronous tasks. A separate ticket has been made for the item stack issue. We were unable to replicate these problems on Spigot-1.16.3 using their latest build.

Chew commented 4 years ago

I've had something similar, but, regardless, reproduce without plugins.

thenameisKO commented 4 years ago

I was able to replicate this without plugins after 4 attempts to teleport to various points in the world using /tp

Screenshot of the server response if I attempt to chat after this bug occurs: https://prnt.sc/ukejzm

Florianpal1 commented 4 years ago

I have the same problem, I already reported it in the last build test. In git-199 there is no problem but in git-200 the problem occurs.

slutmaker commented 4 years ago

Same in 200+

thenameisKO commented 4 years ago

Thanks for the input guys; I backtracked our server to Paper-198 to see if the bug continued on there, didn't experience any issues afterward. Seems that the issue only occurs on the most recent few builds of Paper.

C4K3 commented 3 years ago

Related to #3953?

thenameisKO commented 3 years ago

3953 is slightly similar, but in the case I was experiencing there were no chunks loading for the client at all, placing them into a void on their side that did no damage and also prevented the use of commands/chat

radiant-ai commented 3 years ago

Started to happen when updated from build 185 to the latest.

JustEli commented 3 years ago

My players are experiencing the same: players teleport and sometimes chunks aren't loading, at all, and when they type a command or chat message it says "Cannot send chat message". I have no commonly-used teleport plugins installed, so it seems to be on Paper's side. Using Paper-202, previously Paper-197, which had no issues. For me it seems to be about 1 out of 5 times that I teleport that chunks won't load and I have to relog.

LogGits commented 3 years ago

Im also having this issue after updating from build 197 to 202 like Eli.

HexedHero commented 3 years ago

Can't produce this and no one has complained but I've had it happen like once to me

Chew commented 3 years ago

Alright, so all we know is that it may happen as of build 200 (for Paper 1.16). Please refrain from responding unless you have something to add (such as reliable reproduction steps), or the issue has been fixed.

aikar commented 3 years ago

change has been reverted in master so this is resolved there, but leaving open as reminder to fix it for the patch for the next testing builds.

JustEli commented 3 years ago

No issues on Paper-204, confirmed

Chew commented 3 years ago

Yes, because the change was reverted. This was an issue with the chunk build, like I said, we know this.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

JRoy commented 2 years ago

Likely no longer an issue, please reply if you are still having problems with this.