Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Leichenengel opened this issue Jan 23, 2025 · 1 comment

Comments

@Leichenengel
Copy link

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!

@Poopooracoocoo
Copy link

Poopooracoocoo commented Jan 23, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants