Wrong Minecraft version

NullPointerException: Cannot invoke class_1087.method_4711() when loading a world

What it looks like in the log

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1087.method_4711()" because the return value of "net.minecraft.class_773.method_333

How to fix it

  1. Open your Minecraft `mods` folder and check the exact version of Sodium you have installed.
  2. Update Iris Shaders (and Indium or Continuity, if installed) to the exact release built to support your version of Sodium and Minecraft (for example, Sodium 0.4.11 requires Iris 1.6.2 or newer).
  3. Remove any outdated rendering add-ons that do not yet have a compatible update for your Sodium version, then restart the game.
LoadersFabric, Quilt
SeverityStops the game
CategoryWrong Minecraft version

Check your own log

Related errors