Dark LOD tops on Purpur server
I have a Purpur server (1.21.4, plugins: world edit, better structures, distant horizons 0.9.0, chunky, datapacks: better structures datapack, tectonic for world generation) and I pregenerated chunks with Chunky plugin, then added Distant horizons plugin and pregenerated LODs from the existing chunks. Everything worked, but when I visited some pregenerated LODs and then teleported a few thousands blocks away there were weird dark chunks. And the more I played, the more of them appeared.
I dont think the problem is caused by my client side mods like Sodium, Iris, Lithium, because I tried playing without them and the problem was still there. Turning off shaders or changing graphic setting dint help too. Other players on the server have the same problem and in singleplayer everything is ok, so I think there is some problem in communication between server and client when client is asking for LOD updates. I asked ChatGPT and it told me, that there is some problem with Purpur and Paper, because they are calculating light differently.
The only fix I found is teleporting up in the sky, pregenerating all chunks and then turning off distant horizons on the server completely, so there are no chunk updates. This stop the chunks from turning dark, but when I turn it on again they all get corrupted. So all players have to load their LODs before the official server launch and then I would turn distant horizons off on the server. But new players who join later will not be able to get the LODs from server. Is there a better fix for this?
Other things I tried (nothing worked):
- changing some settings in the mod on client side
- changing the config on server (and pregenerating new LODs every time)
- reloading the LOD by going there and removing/placing blocks (this just generated more dark chunks around)



6 Replies
Update to the latest nightly build and test again. I have a suspicion about what this problem is, but there are other fixes in the latest version too
If you end up having to disable updates, you can do that in the plugin config without disabling it. Players will then at least get the newest LODs at login
Updating didnt work but this did, thanks
Interesting. The data sent on login is the same as during updates, so they should look the same
@пшш Do you have any ideas about this?
Looks like some kind of data corruption, I've seen it in multiplayer without DH but not sure why it appears
@James Seibel GMT-5
have you tried with just DH/any even smaller mod combination?
I don’t remember seeing that issue in a very long time and I don’t think I was ever able to reproduce it myself.
yes, I tried it without mods and the problem was still there