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

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

Open
Apocolyptik opened this issue Sep 8, 2024 · 18 comments
Open
Labels
F-has-workaround Flag: There is a workaround available

Comments

@Apocolyptik
Copy link

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.

@kaleabelgas
Copy link

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)

@2No2Name
Copy link
Member

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.

@suerion
Copy link

suerion commented Oct 10, 2024

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

@suerion
Copy link

suerion commented Oct 10, 2024

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

@2No2Name

@suerion
Copy link

suerion commented Oct 10, 2024

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

@2No2Name 2No2Name added the F-has-workaround Flag: There is a workaround available label Oct 10, 2024
@FelixAgairu
Copy link

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

@2No2Name
Copy link
Member

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

@FelixAgairu
Copy link

@2No2Name
here, Server and Client log

@ElGatoSam
Copy link

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

@suerion
Copy link

suerion commented Oct 21, 2024

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 #541
Or disable both settings from the Mesoglea config

@SpartanG01
Copy link

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.

@2No2Name
Copy link
Member

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

@SpartanG01
Copy link

@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

@suerion
Copy link

suerion commented Oct 22, 2024

@SpartanG01 try looking on this #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)

@2No2Name
Copy link
Member

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

@SpartanG01
Copy link

SpartanG01 commented Oct 22, 2024

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.

@comrade-salem
Copy link

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

@2No2Name
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-has-workaround Flag: There is a workaround available
Projects
None yet
Development

No branches or pull requests

8 participants