Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

[Probably Bug/Issue] Class loading errors/warnings in my latest.log related to lighting stuff

Leichenengel opened this issue ยท 1 comments

commented

Hello :)

I am on 1.21.1 and NeoForge. I updated all my mods and NeoForge to the newest version available and now I am experiencing a lot of lag that I can't pin down because the game doesn't crash. So I've started monitoring the latest.log hoping to find something that might be adding to the lag. what I found was hell of a long list of warnings and error messages from several mods. I use Sodium/Embeddium along with The Sodium/embeddium Options API, Reeses Sodium Options and Sodium/Embeddium Dynamic Lights by txni.

https://gist.github.com/Leichenengel/8b266086a5452b759a7d7dbe3483943d

An example from the logfile:

[11:40:40] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/model/light/data/ArrayLightDataCache (java.lang.ClassNotFoundException: me.jellysquid.mods.sodium.client.model.light.data.ArrayLightDataCache)

Not sure if this is really a bug or intended (/negligible), but I'm sort of trying to reduce the clutter in the latest.log. I have also contacted other modders.

In case this is negligible or works as intended, see it as a heads up :)

Cheers!

commented

Ref https://github.com/txnimc/SodiumDynamicLights/blob/main/src/main/java/toni/sodiumdynamiclights/mixin/sodium/ArrayLightDataCacheMixin.java#L23

The reason it gives you a ClassNotFoundException is because as of Sodium 0.6.0, Sodium's base package was renamed to net.caffeinemc.mods from me.jellysquid.mods. This is a non-issue. Sodium Dynamic Lights does it for backwards compatibility.

To diagnose performance issues, create a Spark performance profile. The Sodium Discord server has a support forum with volunteers who can read the Spark profile.