Lithium (Fabric/NeoForge)

Lithium (Fabric/NeoForge)

36M Downloads

LithiumHashPalette Network Protocol Error Lithium

Sugar-Pink opened this issue · 9 comments

commented

1.21.0

lithium-fabric-mc1.21-0.12.7

Reproduction Steps

  1. Load into singleplayer world
  2. Explore the world
  3. Get network protocol error code

https://mclo.gs/IUBHMzN

I do have a lot of mods installed as shown in log, however I keep getting this error and lithium is what I see popping up in the log so figured Id just share. Thanks.

commented

Relevant part, maybe some mod is causing invalid chunks or lithium is doing something differently
net.minecraft.class_6558: Missing Palette entry for index 28.
at me.jellysquid.mods.lithium.common.world.chunk.LithiumHashPalette.method_12288(LithiumHashPalette.java:132)

commented

Maybe related #531

commented

Crash on 1.21.1, seems to be the same issue. Possible incompatibility with BetterSnowCoverage?

https://mclo.gs/5PEGB6R

commented

Probably not related to Better Snow unless they are accessing neighboring chunks in an unsafe manner

commented

I think they are directly accessing the client world from the chunk building threads on the client, which is not safe, but I am not an expert on that.

commented

reading should ™️ be ok, it might cause corruption on the chunk building thread but not the main thread if your just reading
(as far as i am aware, it depends on how its done however, since mc is strange and even things that look like just reads arnt)

commented

I got Missing Palette entry for index
Then Network Protocol Error and disconnect from server
After update to Lithium Beta

MC 1.21.1
Fabric Loader 0.16.7
Sodium 0.5.11+mc1.21

Client (Also on Server) With Lithium 0.14.0 (Beta 1) for Fabric install on, I tp to respawnpoint then got this error.
Seems no error like output on server, just lost connection: multiplayer.disconnect.generic; multiplayer.player.left;
But if client back to Lithium 0.13.1 everythings works.

might same?
#562
#546

commented

Try to set mixin.chunk.palette=false in the lithium.properties in the config directory

commented

Try setting mixin.chunk.no_locking=false in the lithium.properties file as well