Performance

Sodium Crash: RenderSection.getLastVisibleFrame() NullPointerException

What the log looks like

java\.lang\.NullPointerException: Cannot invoke "net\.caffeinemc\.mods\.sodium\.client\.render\.chunk\.RenderSection\.getLastVisibleFrame\(\)" because "section" is null
at (?:knot//)?net\.caffeinemc\.mods\.sodium\.client\.render\.chunk\.RenderSectionManager\.sectionVisible

How to fix it

  1. Open your Minecraft profile's mods folder (or your mod manager in Modrinth App, Prism Launcher, or CurseForge).
  2. Check your installed Sodium version and update Sodium to version 0.7.2 or newer for your exact Minecraft version and mod loader.
  3. Delete the older Sodium .jar file from your mods folder if you updated manually so you do not have duplicate copies.
  4. Update any Sodium add-ons such as Iris Shaders, Sodium Extra, or Reese's Sodium Options so they match the updated Sodium release.
LoadersFabric, Neoforge, Quilt
SeverityStops the game
CategoryPerformance

Check your own logDownload sodium on 9Minecraft

Related errors