PerformanceIllegalStateException: Tried to mark light data as ready for chunk but it hasn't been loaded yet
What it looks like in the log
java.lang.IllegalStateException: Tried to mark light data as ready for chunk [<so>, -1] but it hasn't been loaded yet
How to fix it
- Open your Minecraft instance's 'mods' folder and check the version of your Sodium '.jar' file.
- Delete the outdated Sodium alpha or early 0.4.0 build (for example, 'sodium-fabric-mc1.18-0.4.0-alpha...').
- Download and install the latest stable release of Sodium for your exact Minecraft version from Modrinth or CurseForge, where chunk light tracking was fixed.
- If you also use Sodium add-ons such as Iris Shaders, Indium, or Reese's Sodium Options, update them at the same time so they match the newer Sodium version.
| Loaders | Fabric, Quilt |
|---|
| Severity | Stops the game |
|---|
| Category | Performance |
|---|
Check your own log