Wrong Minecraft versionNoSuchMethodError: org.lwjgl.opengl.WGL.wglGetCurrentContext() with Sodium
What it looks like in the log
java.lang.NoSuchMethodError: wglGetCurrentContext() on NeoForge <so>
How to fix it
- Open your instance settings in Prism Launcher (or MultiMC) and navigate to the Version tab.
- Select LWJGL 3 in the component list and click Change Version (or Reset) to revert from LWJGL 3.4.x back to LWJGL 3.3.3 (or the default version bundled with your Minecraft release).
- If you are on an unsupported Minecraft version like 1.21.5 and still encounter issues, migrate your instance and Sodium to an actively supported release such as 1.21.1 or the latest version.
| Loaders | Neoforge, Fabric, Quilt |
|---|
| Severity | Stops the game |
|---|
| Category | Wrong Minecraft version |
|---|
Check your own log