lithium-fabric icon indicating copy to clipboard operation
lithium-fabric copied to clipboard

getting a Missing Palette entry crash when looking at water? [1.21.1]

Open Apocolyptik opened this issue 1 year ago • 19 comments

Version

Minecraft 1.21.1 lithium-fabric-mc1.21.1-0.13.0 sodium-fabric-0.6.0-beta.1+mc1.21 (and a bunch of other mods)

Reproduction Steps

It happens whenever I'm in an unexplored area with lots of water, like an ocean biome, and it's rendering in the new chunks as I go along. I can't seem to pinpoint exactly when it happens, but judging by the crash log it mentions trying to render a block of water.

This crash has also happened to me multiple times at this point, even after making several new worlds and trying to explore those ones as well.

Crash Report File

crash-2024-09-08_14.56.12-client.txt

Additional Information

I am running Lithium with Sodium and a slew of other mods, so it may not even be Lithium's fault to begin with. I figured I would just start here and hope for the best.

Apocolyptik avatar Sep 08 '24 22:09 Apocolyptik

Same for me here. Looks like some sort of issue with betterend on my end:

net.minecraft.class_6558: Missing Palette entry for index 0.
	at me.jellysquid.mods.lithium.common.world.chunk.LithiumHashPalette.method_12288(LithiumHashPalette.java:132)
	at net.minecraft.class_2841.method_12331(class_2841.java:158)
	at net.minecraft.class_2841.method_12321(class_2841.java:152)
	at net.minecraft.class_2826.method_12254(class_2826.java:43)
	at net.minecraft.class_1937.method_8320(class_1937.java:9102)
	at net.minecraft.class_1163.handler$zkb000$betterend$be_getWaterColor(class_1163.java:541)

kaleabelgas avatar Sep 09 '24 15:09 kaleabelgas

Could be a combination of mods causing this, betterend + lithium + polymer + modernfix + sodium. Needs more investigation by removing one mod at a time. Or you just set mixin.chunk.palette=false in the lithium.properties in the config directory and thus ignore the issue by disabling lithium's optimization.

2No2Name avatar Sep 14 '24 10:09 2No2Name

Had also an huge Modpack here, Crashlog: https://mclo.gs/igyYhCf Latest Client Log: https://mclo.gs/pnrhvZs

suerion avatar Oct 10 '24 18:10 suerion

The index is allways Changing -> https://mclo.gs/9VTK0eP Latest CLient Log: https://mclo.gs/fY8P9L5

@2No2Name

suerion avatar Oct 10 '24 19:10 suerion

Could be a combination of mods causing this, betterend + lithium + polymer + modernfix + sodium. Needs more investigation by removing one mod at a time. Or you just set mixin.chunk.palette=false in the lithium.properties in the config directory and thus ignore the issue by disabling lithium's optimization.

With this setting, it does not crash anymore

suerion avatar Oct 10 '24 20:10 suerion

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? https://github.com/CaffeineMC/lithium-fabric/issues/562 https://github.com/CaffeineMC/lithium-fabric/issues/546

FelixAgairu avatar Oct 19 '24 22:10 FelixAgairu

@FelixAgairu Can you give more details which server you are on?

2No2Name avatar Oct 20 '24 12:10 2No2Name

@2No2Name here, Server and Client log

FelixAgairu avatar Oct 21 '24 00:10 FelixAgairu

Same problem here, deleted better end and appears to be fixed, ill update if any change

ElGatoSam avatar Oct 21 '24 02:10 ElGatoSam

Had found an issue with BetterEnd and WilderWild, but this is only an issue on my side, sometimes it has crashed my Client.

But i had the palette issue also without the two mods. After disabling the mesoglea waterlogging an bubbling, this issue was gone.

image

The second palette issue was gone after disabling the mixing, what written above.

Workaround for this issue is here https://github.com/CaffeineMC/lithium-fabric/issues/541 Or disable both settings from the Mesoglea config

suerion avatar Oct 21 '24 05:10 suerion

Could be a combination of mods causing this, betterend + lithium + polymer + modernfix + sodium. Needs more investigation by removing one mod at a time. Or you just set mixin.chunk.palette=false in the lithium.properties in the config directory and thus ignore the issue by disabling lithium's optimization.

With this setting, it does not crash anymore

I did this and am still having the crash.

JaceTheGrayOne avatar Oct 21 '24 21:10 JaceTheGrayOne

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

I did this and am still having the crash.

@SpartanG01 Please post the crash report

2No2Name avatar Oct 21 '24 23:10 2No2Name

@2No2Name Here are a couple of the most recent ones.

crash-2024-10-21_17.59.35-client.txt crash-2024-10-21_15.26.35-client.txt

JaceTheGrayOne avatar Oct 22 '24 16:10 JaceTheGrayOne

@SpartanG01 try looking on this https://github.com/CaffeineMC/lithium-fabric/issues/541 it is wilder wild, but i think it is also the mesoglea issue from betterend or wilder wild

at knot//MC//net.minecraft.client.color.world.BiomeColors.handler$bla000$betterend$be_getWaterColor(BiomeColors.java:1041)

suerion avatar Oct 22 '24 17:10 suerion

It seems like the palette entry crash is not caused by Lithium's custom hash palette then.

2No2Name avatar Oct 22 '24 17:10 2No2Name

Yeah someone else suggested C2ME but I ran into a separate problem trying to launch without that so I'm down a bit of rabbit hole with it at this point.

Edit: Nevermind the issue launching without C2ME was related to the fabric version.

JaceTheGrayOne avatar Oct 22 '24 17:10 JaceTheGrayOne

Having the same issue. Also seems to be something with BetterEnd and Lithium causing a mesh error while building chunks.

Heres my log for anyone who could take a look <3 https://mclo.gs/YZhcscu

comrade-salem avatar Oct 25 '24 06:10 comrade-salem

Solution: Update polymer if using polymer.

Otherwise try setting mixin.chunk.no_locking=false in the lithium.properties file. If there issue persists, create a new github issue.

2No2Name avatar Nov 30 '24 14:11 2No2Name

解决方案:如果使用聚合物,请更新聚合物。

否则,请尝试在 lithium.properties 文件中进行设置。如果问题仍然存在,请创建新的 github 问题。mixin.chunk.no_locking=false

thanks,it works on me

DeliciousBread481 avatar Jan 30 '25 14:01 DeliciousBread481