Geyser icon indicating copy to clipboard operation
Geyser copied to clipboard

Some chunks fail load when server render distance exceeds client's

Open Arctrometa opened this issue 1 year ago • 59 comments

Describe the bug

After exploring the world for a bit of time the chunks in the player's render distance just stop rendering at a certain point, all blocks are still intractable but they don't show up in the mobile player's client. Only as a empty void.

To Reproduce

  1. Joined using a mobile client on 1.19.83
  2. Flew around the world for approx. 1 minute or so.
  3. New chunks stop visually loading.

Expected behaviour

The chunks should show up for the player.

Screenshots / Videos

Screenshot_2023-06-02-13-46-43-451_com mojang minecraftpe

Server Version and Plugins

The server is on Geyser-Spigot with Floodgate, Geyser and Chunky.

Geyser Dump

https://dump.geysermc.org/DtNeCCCv9d0sRLT0EYaQcUmOjPRedtQc

Geyser Version

2.1.0-SNAPSHOT (git-master-246ebdd)

Minecraft: Bedrock Edition Device/Version

1.19.83 Mobile

Additional Context

Confirmed to not occur on 1.19.83 PC.

Arctrometa avatar Jun 02 '23 08:06 Arctrometa

Same problem, but with fabric

Vortecsz avatar Jun 04 '23 13:06 Vortecsz

After some tests, the problem seems to be Lithium or Phosphor in my case. Do you guys know if i can do something?

Vortecsz avatar Jun 04 '23 15:06 Vortecsz

Same problem here with Geyser Standalone version 2.1.0-SNAPSHOT (git-DEV-f7d2b4e)

chandlerpl avatar Jun 04 '23 23:06 chandlerpl

What do you guys have your server render distance set to?

Kas-tle avatar Jun 05 '23 03:06 Kas-tle

Ok so on further investigation this is not actually specific to mobile clients, but rather specific to low render distances. If I set my render distance to 6 on desktop, which is the default for many mobile devices. I also experience this. Setting it to 10 on mobile (max) likewise seems to eliminate the issue. We may just have to do some kind of padding when lower render distances are used.

Kas-tle avatar Jun 05 '23 04:06 Kas-tle

Yes, it's not related to mobile user, this happen also on Xbox and windows(bedrock) in my case too. I tryed with 10 visual distance. The problem seems to happen less but it's still present in my case. My server render distance is set to 10, and the visual distance 10 too.

Vortecsz avatar Jun 05 '23 14:06 Vortecsz

It's likely a function of how close your render distance is to the server render distance.

Kas-tle avatar Jun 05 '23 15:06 Kas-tle

@Arctrometa for my own sanity could you try this without chunky? From reading the plugin description it doesn't seem like it should affect actual chunk loading, but I'm not really sure. I can't seem to reproduce this on the latest paper like you have, but I can on older versions with viaversion.

Kas-tle avatar Jun 05 '23 15:06 Kas-tle

@Arctrometa for my own sanity could you try this without chunky? From reading the plugin description it doesn't seem like it should affect actual chunk loading, but I'm not really sure. I can't seem to reproduce this on the latest paper like you have, but I can on older versions with viaversion.

Sure i'll have a look.

Arctrometa avatar Jun 06 '23 04:06 Arctrometa

Same problem. Whats the current state of this issue?

EpicJosch avatar Jun 06 '23 07:06 EpicJosch

@Arctrometa for my own sanity could you try this without chunky? From reading the plugin description it doesn't seem like it should affect actual chunk loading, but I'm not really sure. I can't seem to reproduce this on the latest paper like you have, but I can on older versions with viaversion.

I've tried running the server without chunky and the same problem occurred only on mobile devices.

Arctrometa avatar Jun 10 '23 07:06 Arctrometa

I was also running it without chunky and same problem occurred. Then tried with chunky and no changes to the problems behavior

EpicJosch avatar Jun 10 '23 07:06 EpicJosch

I have a friend on bedrock who has this issue on my 1.20 paper server, I just use a TPS viewer plugin

OneBitOfHope avatar Jun 13 '23 23:06 OneBitOfHope

same problem paper1.17.1, geyser+viaversion view distance 10, bedrock 1.20.1

moemeow233 avatar Jun 26 '23 02:06 moemeow233

Having the same issue on 1.20.1 (Spigot, GeyserMC + Floodgate). Seems to affect Bedrock editions (including PE/mobile), and not Java.

Temporary Fixes:

  • Reload world & wait for chunks to load.
  • Increase render distance to 7+ (assuming unchanged server chunk settings) & reload world.
  • Running GeyserMC in a proxy such as velocity or BungeeCord.

Sources:

  1. According to @_jiimmy. (Discord Thread), “Apparently this error does not occur if I run the geysermc plugin in some proxy like velocity or bungecord.”
  2. From above, @Kas-tle (Comment is above).

Bill-Joe-Tech avatar Aug 11 '23 21:08 Bill-Joe-Tech

This issue depends on the device, I've tested a couple of devices on my lan server (with and without the same network). I tested both paper and fabric for this. PaperMC doesn't have this issue probably because of the chunk rewrite. FabricMC does though and like I said for me it seems to be on what device you're using, here's my list. (You can rejoin everytime chunks stop loading and it'll fix for a bit that's what works best for me. just rejoin everytime chunks stop loading and it should be just fine for a while.)

  1. A windows laptop with Ryzen 5 5600h and 3060 laptop GPU 16gbs of tam. Doesn't happen on this device unless I'm connected to another network. (The bedrock version of Java)

  2. A android phone with Snapdragon Gen 1 with 8gbs. occurs on both lan and other networks

  3. Another android phone with Snapdragon 778g and 6gbs of ram. this one somehow doesn't have the issue and it only happens if I turn off wifi mid game and rejoin again.

  4. A android Tablet with exynoss 7904 and 3gbs of ram. It happens on both same network and on another network

  5. My friends IPad Pro 3rd gen, It somehow doesn't happen to him on both same network and on his wifi.

  6. A windows device with a core i7 5500u and 32gbs of ram. The chunks do load on lan but really slowly (probably my device lol) and on another network it sometimes sends me into the void or chunks don't load at all.

  7. An iPhone 12 the regular version, Chunks will only load on another network for some reason and stop after loading a few chunks on my own network that the server is connected to

  8. 2 more android devices (one with a Snapdragon 665 and 4gbs of ram and a exynoss 850 with 4gbs of ram) the results for these 2 were the same as device Number 2 I tested.

  9. Xbox series X and PS4. The chunks load correctly and smoothly on this and another network with the only issue being it has a bit of lag spikes (that might just be me on 2.4g wifi though)

10 Nintendo switch. Performance is exceptional (probably just the switch not being well optimized) chunks wont load when connected on another network or it drops me in an empty unloaded place however on Lan it will load just fine.

  1. An old hp 15 notebook with a Core i3 5600u and Intel HD graphics 16gbs of ram. Chunks load fine on lan and surprisingly on wireless 2g it does better. When connected to another network it doesn't load some chunks and skips some chunks too.

YaBoiEddyC avatar Aug 12 '23 16:08 YaBoiEddyC

This issue depends on the device, I've tested a couple of devices on my lan server (with and without the same network). I tested both paper and fabric for this. PaperMC doesn't have this issue probably because of the chunk rewrite. FabricMC does though and like I said for me it seems to be on what device you're using, here's my list. (You can rejoin everytime chunks stop loading and it'll fix for a bit that's what works best for me. just rejoin everytime chunks stop loading and it should be just fine for a while.)

  1. A windows laptop with Ryzen 5 5600h and 3060 laptop GPU 16gbs of tam. Doesn't happen on this device unless I'm connected to another network. (The bedrock version of Java)
  2. A android phone with Snapdragon Gen 1 with 8gbs. occurs on both lan and other networks
  3. Another android phone with Snapdragon 778g and 6gbs of ram. this one somehow doesn't have the issue and it only happens if I turn off wifi mid game and rejoin again.
  4. A android Tablet with exynoss 7904 and 3gbs of ram. It happens on both same network and on another network
  5. My friends IPad Pro 3rd gen, It somehow doesn't happen to him on both same network and on his wifi.
  6. A windows device with a core i7 5500u and 32gbs of ram. The chunks do load on lan but really slowly (probably my device lol) and on another network it sometimes sends me into the void or chunks don't load at all.
  7. An iPhone 12 the regular version, Chunks will only load on another network for some reason and stop after loading a few chunks on my own network that the server is connected to
  8. 2 more android devices (one with a Snapdragon 665 and 4gbs of ram and a exynoss 850 with 4gbs of ram) the results for these 2 were the same as device Number 2 I tested.
  9. Xbox series X and PS4. The chunks load correctly and smoothly on this and another network with the only issue being it has a bit of lag spikes (that might just be me on 2.4g wifi though)

10 Nintendo switch. Performance is exceptional (probably just the switch not being well optimized) chunks wont load when connected on another network or it drops me in an empty unloaded place however on Lan it will load just fine.

  1. An old hp 15 notebook with a Core i3 5600u and Intel HD graphics 16gbs of ram. Chunks load fine on lan and surprisingly on wireless 2g it does better. When connected to another network it doesn't load some chunks and skips some chunks too.

Did you reduce the render distance on all these devices to the minimum (5 chunks)?

Kas-tle avatar Aug 12 '23 16:08 Kas-tle

Oh I forgot to say, Only device 1, 3 and 5 didn't have the chunk loading issue every other one did have some sort of issue on either the same network as the server or connected to another network

My server is quite modded with Fabric MC and this was tested on both modded and unmodded Mods: Fabric API Lithium Starlight C2ME VMP Krypton Ferritecore All of yungs better mods Floodgate and geyser MemoryLeakFix Collective+player heads Stardust Labs mods (Terralith, Incendium, nullscape, structory, towers) Repurposed Structures ChoiceTheorem's Overhauled Village Better End cities Datapacks Forever babies Datapack. Flan Claim Mod Dynmap Fabric Discord4Fabric

Server Specs: Ryzen 7 5800h 3.2ghz base and 4.4 max, and 64gbs of ram(18gbs dedicated to the server), 1tb NVME 4 SSD, Lan: 1 gigabit down and 35up.

YaBoiEddyC avatar Aug 12 '23 16:08 YaBoiEddyC

@Kas-tle I tested each one to the minimum and max of the server render distance

YaBoiEddyC avatar Aug 12 '23 16:08 YaBoiEddyC

@Kas-tle I tested each one to the minimum and max of the server render distance

So you didn't set the render distance of the client to 5 chunks?

Kas-tle avatar Aug 12 '23 16:08 Kas-tle

@Kas-tle Yes I did on the client

YaBoiEddyC avatar Aug 12 '23 16:08 YaBoiEddyC

mine is having the same problem too on Aternos using the Spigot to run the plugin, my friend on Bedrock can't play with the world don't loading all the time. i'm on the 1.20 version of the Minecraft

https://dump.geysermc.org/LNz5PK6mnuq3HxLTQR5K3GLxe87eBd4B

iDarknessSam avatar Sep 09 '23 10:09 iDarknessSam

mine is having the same problem too on Aternos using the Spigot to run the plugin, my friend on Bedrock can't play with the world don't loading all the time. i'm on the 1.20 version of the Minecraft

https://dump.geysermc.org/LNz5PK6mnuq3HxLTQR5K3GLxe87eBd4B

Actually...I tried with others devices and all of them are having the same problem..no matter what render I put on it the world stop to render after certain point. some of my friends on bedrock are being sad with this

iDarknessSam avatar Sep 09 '23 16:09 iDarknessSam

even updating the plugin to the latest version, still nothing

iDarknessSam avatar Sep 10 '23 00:09 iDarknessSam

@iDarknessSam PaperMC is probably the only one that doesn't have the chunk loading issue due to their chunk rewrite so if you wanna have a server with chunks loading correctly for now just use paper

YaBoiEddyC avatar Sep 10 '23 05:09 YaBoiEddyC

@iDarknessSam PaperMC is probably the only one that doesn't have the chunk loading issue due to their chunk rewrite so if you wanna have a server with chunks loading correctly for now just use paper

but the plugins from Spigot works on PaperMC without any issues?

iDarknessSam avatar Sep 10 '23 23:09 iDarknessSam

@iDarknessSam PaperMC is probably the only one that doesn't have the chunk loading issue due to their chunk rewrite so if you wanna have a server with chunks loading correctly for now just use paper

photo_2023-09-10_21-24-57 Screenshot_20230910_212545

I installed PaperMC here but the problem still persist in all devices.. https://dump.geysermc.org/6HCxNvCfKHc7ReyOtTuVtx25cWe3AGHh

iDarknessSam avatar Sep 11 '23 00:09 iDarknessSam

@iDarknessSam Which version are you using

YaBoiEddyC avatar Sep 11 '23 16:09 YaBoiEddyC

@iDarknessSam Which version are you using

1.20.1 version of Java and the latest version of GeyserMC on PaperMC

iDarknessSam avatar Sep 11 '23 17:09 iDarknessSam

@iDarknessSam yeah I tested it again on most of the devices it seems like it's affecting paper too now

YaBoiEddyC avatar Sep 12 '23 00:09 YaBoiEddyC