Crash After Being in World for a Short Period of Time
Opened this issue ยท 6 comments
Minecraft 1.18.2
Forge 40.3.10
Crash Log: https://mclo.gs/NCNXsDY
I cannot quite figure out why this happens (this also happens with Terrestria Reforged, as well as Cinderscapes Reforged), but some mod is causing a crash here on the render thread.
I can't reproduce with just Embeddium, and Traverse (plus Terrablender). Gonna try doing the disable half of my mods method and see if I can find the one that is causing this problem.
Unrelated issue Terraestria does not look correct with Tectonic, lol. Traverse seems alright though!
Huh weird, let me know when you figure out which mod combination is causing it
I've managed to isolate the issue to an instance with only these mods:
- Changed: Minecraft Mod
- Terrablender
- Embeddium
- FerriteCore
- Traverse Reforgered
The results in that the game does not crash, but entirely fails to load the chunks traverse's biomes are in (also applies to Terrestria and Cinderscapes). Tons of errors in the game log.
Log: https://mclo.gs/k3F72Ft
Removing Changed: MC seems to make the issue go away, at least in this isolated instance. I'll open an issue over there.
Also, removing FerriteCore doesn't help.
And removing Embeddium causes every chunk to fail to load if you even get close to a Traverse Biome.
Ok, it's probably some mixin conflict between terraform wood api or terraform utils and changed mc, though what exactly i'm not sure yet.
Been a hot minute, but the developer of the other mod has looked at it. Here is their quote:
Presuming the Vanilla code is not modified: the error is caused in
LinearPalette.write(LinearPalette.java:90), when attempting to fetch the registry id of an invalid value:friendlyByteBuf.writeVarInt(this.registry.getId(this.values[i]));
This function writes a
-1into a network packet sent to clients, that then throw an exception upon looking for an entry at-1.I'm guessing from the genre of the mods, this error occurs within
LevelChunkSection.biomesfield of typePalettedContainer<Holder<Biome>>. This object is given an instance of the Biome registry that is missing the entries at the time of serializing.
