CaffeineMC / sodium

A Minecraft mod designed to improve frame rates and reduce micro-stutter
Other
4.77k stars 811 forks source link

Sodium 1.20.4 keeps crashing my game and i dont know how to fix it #2733

Closed Willweasly closed 1 month ago

Willweasly commented 1 month ago

Bug Description

im able to run minecraft without sodium but whenever i try to it crashes with error code 1

Reproduction Steps

I downloaded sodium 1.20.4 and put it in my mods folder with architectury, cloth config, fabric api, ForgeConfigAPIPort, immersivemc, iris, physics mod, vivecraft, and vrapi. if I take sodium out of the folder it works perfectly fine but when i put it in it crashes everytime.

Log File

[16:39:46] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.3 [16:39:46] [main/WARN]: Mod resolution failed [16:39:46] [main/INFO]: Immediate reason: [HARD_DEP iris 1.7.2+mc1.20.4 {depends sodium @ [0.5.8 || 0.5.11]}, HARD_DEP_INCOMPATIBLE_PRESELECTED sodium 0.5.11+mc1.20.6 {depends minecraft @ [1.20.6]}, ROOT_FORCELOAD_SINGLE iris 1.7.2+mc1.20.4] [16:39:46] [main/INFO]: Reason: [HARD_DEP sodium 0.5.11+mc1.20.6 {depends minecraft @ [1.20.6]}] [16:39:46] [main/INFO]: Fix: add [], remove [], replace [[sodium 0.5.11+mc1.20.6] -> add:sodium 0.5.11 ([[0.5.8,0.5.8], [0.5.11,0.5.11]])] [16:39:46] [main/ERROR]: Incompatible mods found! net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other! A potential solution has been determined, this may resolve your problem:

Crash Report

RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'sodium'!

at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:160)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) UnsupportedClassVersionError: me/jellysquid/mods/sodium/client/compatibility/workarounds/Workarounds has been compiled
by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes
class file versions up to 61.0
<html>at java.base/java.lang.ClassLoader.defineClass1(Native Method)<br>at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)<br>at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)<br>at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:160)<br>at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:355)<br>at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218)<br>at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)<br>at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)<br>at me.jellysquid.mods.sodium.client.SodiumPreLaunch.onPreLaunch(SodiumPreLaunch.java:13)<br>at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384)<br>... 3 more</html>
Willweasly commented 1 month ago

dont download this its a virus

pajicadvance commented 1 month ago

You're trying to use a version of Sodium that's not compatible with 1.20.4, the latest Sodium version for that MC version is 0.5.8.

Willweasly commented 1 month ago

i thought it was for mc1.20.4 but it was file version 0.5.8

Willweasly commented 1 month ago

Screenshot (147) these are all the mods i have installed

pajicadvance commented 1 month ago

The log you posted is saying you are using 0.5.11 so I don't know what's going on.

Willweasly commented 1 month ago

what about this log???

Willweasly commented 1 month ago

[17:05:19] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.3 [17:05:19] [main/INFO]: Loading 74 mods:

douira commented 1 month ago

@Willweasly The GitHub Issue tracker is not intended for support requests. We can help you with your problem on our discord server. Please make a new support request there.

Willweasly commented 1 month ago

i still would like some help on how to fix this please

MeeniMc commented 1 month ago

follow the link above to the discord, you'll receive help there.

Willweasly commented 1 month ago

ok thank you