UseTeleportView client lag on UnsetTeleportViewDelay occurrence.
BestViewDistance compiled as of commit https://github.com/Kugge/BestViewDistance/commit/8e335e8d61ba77dd4e1c83dfda28e23ac98771f9 with all 5 active pull requests as of 4/4. Paper dev (Spigot 1.13.2) ProtocolSupport dev 374
Config https://paste.ubuntu.com/p/kvhNdtyZ3c/
I noticed that on each teleport, the client lags after 3 seconds when the UnsetTeleportViewDelay occurs - when raising the teleport view distance from 4 to the full 16. Is there any way to lessen this impact and gradually load a larger view distance? As with this occurrence is a sudden client lag spike 3 seconds after each teleport.
Idea: every second add an additional one or two view distance to lessen the impact on the clients (actually, making it configurable would be better).
@mibby on my fork I have implemented this, as I was getting this too since we had the full 32 view distance at times.
Added it there and you can download the developmental build. https://github.com/graywolf336/BestViewDistance/commit/e8c7f3e5dba41e973b901829e86e65ba857dfe11
graywolf336@e8c7f3e is a good idea but this will produce a lot of lag server side. However I plan to create a better version of graywolf336's commit, incrementally setting view distance when player is subject to a certain type of event.