Video Settings crashing game
ConniBug opened this issue · 7 comments
Reproduction Steps
- Load mc
- Click on video settings
- Crash your mc client
Crash Report File
Extra info
also i get a diff crahs log when i try load into a mc server Gist
im using the mods
fabric-api-0.15.1+build.380-1.16.1
sodium-fabric-mc1.16.1-0.1.0
Hovering over an option in Video Settings causes:
java.lang.ClassCastException: net.minecraft.class_5481$$Lambda$3128/1151116982 cannot be cast to net.minecraft.class_5348
at me.jellysquid.mods.sodium.client.gui.SodiumOptionsGUI.renderOptionTooltip(SodiumOptionsGUI.java:215)
at me.jellysquid.mods.sodium.client.gui.SodiumOptionsGUI.method_25394(SodiumOptionsGUI.java:145)
at net.minecraft.class_757.method_3192(class_757.java:603)
at net.minecraft.class_310.method_1523(class_310.java:1020)
at net.minecraft.class_310.method_1514(class_310.java:653)
at net.minecraft.client.main.Main.main(Main.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
Full crash report below. It's been cleaned up a bit so it's readable.
crash-2020-08-03_08.35.48-client.txt
Edit: Using the latest version of windows 7.
Might it be because we're using an earlier version of Java? (Java 8, which is somehow still supported)
Because at one point I got an UnsupportedOperation error.
@TheoCGaming your crash is unrelated to this issue. This issue is identical to #219 , and is caused by a corrupt or invalid config file. The crash above will be fixed in the 0.2 milestone.
Your crash is caused by attempting to use Sodium—which is only supported for the latest stable release of Minecraft (currently 1.16.1) —on 1.16.2-Pre1. It crashes because there was a change to the item tooltips code. This is something that will be fixed when Sodium is updated to support 1.16.2. For now, you should only use Sodium on 1.16.1.
Might it be because we're using an earlier version of Java? (Java 8, which is somehow still supported)
Java 8 is actually bundled with the Minecraft vanilla launcher, so there is no problem with using that version of Java. You can read here and here to learn more about why Mojang is still using Java 8, and here to learn more about the concept of Long-Term Support (LTS) versions of software.
See #219.