Wrong Minecraft versionSodium & Iris Crash: NoSuchMethodError in GlShader.<init>
What it looks like in the log
java.lang.NoSuchMethodError: 'void net.caffeinemc.mods.sodium.client.gl.shader.GlShader.<init>(net.caffeinemc.mods.sodium.client.gl.shader.ShaderType,
How to fix it
- Open your instance's mods folder and check the exact versions of both Sodium and Iris Shaders.
- If you are using an alpha or beta version of Sodium, replace it with the latest stable release for your Minecraft version from Modrinth or CurseForge.
- If you are already on a stable Sodium release, update Iris Shaders to the newest version built for that specific Sodium release.
- Verify that other rendering or Sodium add-on mods (such as Sable, Sodium Extra, or Continuity) are also on versions compatible with your chosen Sodium release.
| Loaders | Neoforge, Fabric, Quilt |
|---|
| Severity | Stops the game |
|---|
| Category | Wrong Minecraft version |
|---|
Check your own logDownload sodium on 9Minecraft