Game Crashes when I open video settings with Sodium Extra Mod
corper9 opened this issue ยท 3 comments
Make sure you are not opening a duplicate.
- I have searched the issue tracker and did not find an issue describing my crash.
Minecraft version.
1.16.5
Sodium Extra version.
0.4.8
Sodium version.
0.2.0
What happened?
I opened video settings and game crashed
Relevant logs
---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 8/23/22 11:57 AM
Description: mouseClicked event handler
java.lang.IndexOutOfBoundsException: index (1) must be less than size (1)
at Not Enough Crashes deobfuscated stack trace.(1.16.5+build.10)
at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:1177)
at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:1159)
at com.google.common.collect.SingletonImmutableList.get(SingletonImmutableList.java:43)
at net.minecraft.client.MinecraftClient.handler$zzb000$openScreen(MinecraftClient:2894)
at net.minecraft.client.MinecraftClient.openScreen(MinecraftClient)
at net.minecraft.client.gui.screen.option.OptionsScreen.handler$zjo000$open(OptionsScreen:523)
at net.minecraft.client.gui.screen.option.OptionsScreen.method_19828(OptionsScreen)
at net.minecraft.client.gui.widget.ButtonWidget.onPress(ButtonWidget:33)
at net.minecraft.client.gui.widget.PressableWidget.onClick(PressableWidget:16)
at net.minecraft.client.gui.widget.ClickableWidget.mouseClicked(ClickableWidget:149)
at net.minecraft.client.gui.ParentElement.mouseClicked(ParentElement:27)
at net.minecraft.client.Mouse.method_1611(Mouse:92)
at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen:435)
at net.minecraft.client.Mouse.onMouseButton(Mouse:92)
at net.minecraft.client.Mouse.method_22686(Mouse:162)
at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94)
at net.minecraft.client.Mouse.method_22684(Mouse:162)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem:109)
at net.minecraft.client.util.Window.swapBuffers(Window:308)
at net.minecraft.client.MinecraftClient.render(MinecraftClient:1068)
at net.minecraft.client.MinecraftClient.run(MinecraftClient:681)
at net.minecraft.client.main.Main.main(Main:215)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:175)
at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:185)
at org.polymc.EntryPoint.listen(EntryPoint.java:144)
at org.polymc.EntryPoint.main(EntryPoint.java:74)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:1177)
at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:1159)
at com.google.common.collect.SingletonImmutableList.get(SingletonImmutableList.java:43)
at net.minecraft.class_310.handler$zzb000$openScreen(class_310.java:2894)
at net.minecraft.class_310.method_1507(class_310.java)
at net.minecraft.class_429.handler$zjo000$open(class_429.java:523)
at net.minecraft.class_429.method_19828(class_429.java)
at net.minecraft.class_4185.method_25306(class_4185.java:33)
at net.minecraft.class_4264.method_25348(class_4264.java:16)
at net.minecraft.class_339.method_25402(class_339.java:149)
at net.minecraft.class_4069.method_25402(class_4069.java:27)
at net.minecraft.class_312.method_1611(class_312.java:92)
-- Affected screen --
Details:
Screen name: net.minecraft.class_429
Stacktrace:
at net.minecraft.class_437.method_25412(class_437.java:435)
at net.minecraft.class_312.method_1601(class_312.java:92)
at net.minecraft.class_312.method_22686(class_312.java:162)
at net.minecraft.class_1255.execute(class_1255.java:94)
at net.minecraft.class_312.method_22684(class_312.java:162)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:109)
at net.minecraft.class_1041.method_15998(class_1041.java:308)
at net.minecraft.class_310.method_1523(class_310.java:1068)
at net.minecraft.class_310.method_1514(class_310.java:681)
at net.minecraft.client.main.Main.main(Main.java:215)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:175)
at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:185)
at org.polymc.EntryPoint.listen(EntryPoint.java:144)
at org.polymc.EntryPoint.main(EntryPoint.java:74)
-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_333, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2488968416 bytes (2373 MB) / 3087007744 bytes (2944 MB) up to 3087007744 bytes (2944 MB)
CPUs: 4
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms3072m -Xmx3072m
Suspected Mods: Minecraft (minecraft), Fabric Loader (fabricloader)
Fabric Mods:
boostedbrightness: Boosted Brightness 2.0.0
caffeineconfig: CaffeineConfig 1.0.0
cloth-basic-math: cloth-basic-math 0.6.1
cloth-config2: Cloth Config v4 4.14.64
dark-loading-screen: Dark Loading Screen 1.6.3
fabric: Fabric API 0.42.0+1.16
fabric-api-base: Fabric API Base 0.4.0+3cc0f0907d
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.1+3cc0f0907d
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.13+3cc0f0907d
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.6+3cc0f0907d
fabric-command-api-v1: Fabric Command API (v1) 1.1.3+3cc0f0907d
fabric-commands-v0: Fabric Commands (v0) 0.2.3+3cc0f0907d
fabric-containers-v0: Fabric Containers (v0) 0.1.12+3cc0f0907d
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.5+3cc0f0907d
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.4+3cc0f0907d
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.8+3cc0f0907d
fabric-entity-events-v1: Fabric Entity Events (v1) 1.2.4+3cc0f0907d
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.5+3cc0f0907d
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.2+3cc0f0907d
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+3cc0f0907d
fabric-item-api-v1: Fabric Item API (v1) 1.2.2+3cc0f0907d
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.1+3cc0f0907d
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.5+3cc0f0907d
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+3cc0f0907d
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.2+3cc0f0907d
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.3+3cc0f0907d
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.4+3cc0f0907d
fabric-models-v0: Fabric Models (v0) 0.3.1+3cc0f0907d
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.5+3cc0f0907d
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.9+3cc0f0907d
fabric-networking-v0: Fabric Networking (v0) 0.3.3+3cc0f0907d
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.6+3cc0f0907d
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+3cc0f0907d
fabric-particles-v1: Fabric Particles (v1) 0.2.5+3cc0f0907d
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.6+3cc0f0907d
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.5+3cc0f0907d
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.5+3cc0f0907d
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.3.1+3cc0f0907d
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.6+3cc0f0907d
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.15+3cc0f0907d
fabric-rendering-v0: Fabric Rendering (v0) 1.1.3+3cc0f0907d
fabric-rendering-v1: Fabric Rendering (v1) 1.6.1+3cc0f0907d
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+3cc0f0907d
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.1+3cc0f0907d
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.6+3cc0f0907d
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.12+3cc0f0907d
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.2+3cc0f0907d
fabric-textures-v0: Fabric Textures (v0) 1.0.7+3cc0f0907d
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.8+3cc0f0907d
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.0+3cc0f0907d
fabricloader: Fabric Loader 0.14.9
ferritecore: FerriteCore 2.1.0
java: Java HotSpot(TM) 64-Bit Server VM 8
lazydfu: LazyDFU 0.1.1
minecraft: Minecraft 1.16.5
modmenu: Mod Menu 1.16.23
no_fog: No Fog 1.3.0+1.16.5-1.19
notenoughcrashes: Not Enough Crashes 4.1.4+1.16.5
sodium: Sodium 0.2.0+build.4
sodium-extra: Sodium Extra 0.4.6+mc1.16.5-build.44
Launched Version: 1.16.5
Backend library: LWJGL version 3.2.2 build 10
Backend API: Intel(R) UHD Graphics 620 GL version 4.6.0 - Build 27.20.100.9664, Intel
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Graphics mode: fancy
Resource Packs: Fabric Mods
Current Language: English (US)
CPU: 4x Intel(R) Core(TM) i3-8145U CPU @ 2.10GHz
Client Crashes Since Restart: 1
Integrated Server Crashes Since Restart: 0
Additional information
No response
Looks like your config file is corrupt, deleting .minecraft/config/sodium-extra-options.json
will resolve your issue. Additionally, I recommend against using Not Enough Crashes as it messes with stacktrace output and makes it harder to debug.
Never mind, it's likely conflicting with an older version of boosted brightness.
I don't think the author of Boosted Brightness will be backporting the fixes the implemented and supporting older versions, so the only workaround right now is to add mixin.sodium.resolution=false
to .minecraft/config/sodium-extra.properties
. You will lose the resolution slider but you can access it via Shift+P
.
The .minecraft/config/sodium-extra.properties
file should look like: