Game crashes ~5 seconds into joining the world or after "Loading Terrain"

Hello! I wanted to install DH for my server too, since I'd love to have it generate without having to explore the chunks first so they're saved. After following the instructions for the server-side support, the game crashes after ~5 seconds of being in the world or right after "Loading Terrain". The server is completely fine, up and running. This only started happening since I've installed the new version "DistantHorizons-2.1.3-a-dev-1.21" from gitlab. I've tried both with all my current mods, which don't have any incompabilities and only with DH, Sodium, Indium, Iris and Fabric API. This is the error message I get:
The game crashed whilst unexpected error
Error: java.lang.NoSuchFieldError: Class com.seibel.distanthorizons.api.methods.events.abstractEvents.DhApiBeforeBufferRenderEvent$EventParam does not have member field 'com.seibel.distanthorizons.coreapi.util.math.Vec3f modelPos'
The game crashed whilst unexpected error
Error: java.lang.NoSuchFieldError: Class com.seibel.distanthorizons.api.methods.events.abstractEvents.DhApiBeforeBufferRenderEvent$EventParam does not have member field 'com.seibel.distanthorizons.coreapi.util.math.Vec3f modelPos'
Any ideas? :SadCat: (I've also tried using the new Sodium 0.60 and Iris 1.8 Snapshots but with those my game doesn't even start at all)
8 Replies
majo24
majo24•4mo ago
Update to Sodium and Iris alpha from https://discord.com/channels/774352792659820594/883067831485366304 DH had an API change recently, which iris needs to update for. These alphas are updated for it Oh, you said you already tried these. Can you share the log when using these?
Zythoxic
ZythoxicOP•4mo ago
Sure, give me a second :bugNodZoom:
Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.NoClassDefFoundError: me/jellysquid/mods/sodium/client/SodiumClientMod
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:482)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.NoClassDefFoundError: me/jellysquid/mods/sodium/client/SodiumClientMod
at com.seibel.distanthorizons.fabric.wrappers.modAccessor.SodiumAccessor.setFogOcclusion(SodiumAccessor.java:138)
at com.seibel.distanthorizons.fabric.FabricMain.runDelayedSetup(FabricMain.java:150)
at loaderCommon.fabric.com.seibel.distanthorizons.common.AbstractModInitializer.postInit(AbstractModInitializer.java:185)
at com.seibel.distanthorizons.fabric.FabricMain.lambda$subscribeClientStartedEvent$1(FabricMain.java:128)
at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.lambda$static$0(ClientLifecycleEvents.java:35)
at net.minecraft.class_310.handler$bfh000$fabric-lifecycle-events-v1$onStart(class_310.java:10194)
at net.minecraft.class_310.method_1514(class_310.java:864)
at net.minecraft.client.main.Main.main(Main.java:256)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
... 2 more
Caused by: java.lang.ClassNotFoundException: me.jellysquid.mods.sodium.client.SodiumClientMod
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
... 11 more
Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.NoClassDefFoundError: me/jellysquid/mods/sodium/client/SodiumClientMod
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:482)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.NoClassDefFoundError: me/jellysquid/mods/sodium/client/SodiumClientMod
at com.seibel.distanthorizons.fabric.wrappers.modAccessor.SodiumAccessor.setFogOcclusion(SodiumAccessor.java:138)
at com.seibel.distanthorizons.fabric.FabricMain.runDelayedSetup(FabricMain.java:150)
at loaderCommon.fabric.com.seibel.distanthorizons.common.AbstractModInitializer.postInit(AbstractModInitializer.java:185)
at com.seibel.distanthorizons.fabric.FabricMain.lambda$subscribeClientStartedEvent$1(FabricMain.java:128)
at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.lambda$static$0(ClientLifecycleEvents.java:35)
at net.minecraft.class_310.handler$bfh000$fabric-lifecycle-events-v1$onStart(class_310.java:10194)
at net.minecraft.class_310.method_1514(class_310.java:864)
at net.minecraft.client.main.Main.main(Main.java:256)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
... 2 more
Caused by: java.lang.ClassNotFoundException: me.jellysquid.mods.sodium.client.SodiumClientMod
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
... 11 more
majo24
majo24•4mo ago
Could you share the full log
Zythoxic
ZythoxicOP•4mo ago
It doesn't look like I'm getting a full log :DColon:
Miki_P98
Miki_P98•4mo ago
If you are using saver side fork, swich to main DH version Serverside fork is incompatible with Sodium 0.6.0
Zythoxic
ZythoxicOP•4mo ago
So I guess the server-side version does not currently work at all while using sodium? :poi_think:
majo24
majo24•4mo ago
Seemingly not while using Sodium 0.6. Sodium 0.5.11 should be fine, but the needed iris version doesn't support that version
Zythoxic
ZythoxicOP•4mo ago
Gotta love those devils circles 🥲 Well thank you anyways!
Want results from more Discord servers?
Add your server