Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunks don't unload on bedrock #2725

Closed
Shengalabu opened this issue Dec 22, 2021 · 5 comments
Closed

Chunks don't unload on bedrock #2725

Shengalabu opened this issue Dec 22, 2021 · 5 comments

Comments

@Shengalabu
Copy link

Describe the bug

As the title suggests when a bedrock client joins a Geyser server and roams around for a bit, the chunks that they have explored or loaded don't get unloaded. The chunks do get unloaded by the server however they are still rendered by the bedrock client. This causes severe lag in low end devices as the unloaded chunks can be 500 blocks long.

To Reproduce

  1. Set your render distance to a really low number.
  2. Use any type of bedrock client (mobile, pc, console) to join any server that has geyser enabled.
  3. Move in any direction for about 500 blocks or more.
  4. look behind you, the chunks will not be unloaded by your client.

Expected behaviour

Say that you have set your render distance set to two. Move in any direction for about 500 blocks. You shouldn't be able to see blocks further than two chunks away.

Screenshots / Videos

https://youtu.be/pXhN3PaevG4

Server Version and Plugins

version
[03:50:19 INFO]: Checking version, please wait...
[03:50:20 INFO]: This server is running Paper version git-Paper-99 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: cf621c5)
You are running the latest version
Previous version: git-Paper-81 (MC: 1.18.1)

Plugins
Geyser-Spigot.jar
floodgate-spigot.jar

Geyser Dump

https://dump.geysermc.org/ixmup2gabSaICVn2A7TcgNQFfbuDWlsT

Geyser Version

Build #977 (Dec 21, 2021, 4:02:24 AM)

Minecraft: Bedrock Edition Version

1.18.2

Additional Context

No response

@Camotoy
Copy link
Member

Camotoy commented Dec 22, 2021

I'm not sure if there's anything we can do about this on our end; Bedrock doesn't have any packet to unload chunks and instead does this itself.

@Camotoy
Copy link
Member

Camotoy commented Dec 22, 2021

(Though, currently we don't forward the client's render distance to the server. We are aware that we need to implement this)

@zydezu
Copy link

zydezu commented Dec 28, 2021

Can confirm - the server's render distance overrides the clients ( so you can get render distances of 64 on Switch where it should be 12 ). This does cause lag after a while.

@Shadowblitz16
Copy link

@Camotoy what about datapacks like terralith then?
are you saying the chunks will be desynced because the server will load one thing and bedrock will load another?

@Camotoy
Copy link
Member

Camotoy commented Jan 7, 2022

No.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants