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

Error on Startup - failed to load #38

Closed
Fidulus opened this issue Jul 22, 2024 · 3 comments
Closed

Error on Startup - failed to load #38

Fidulus opened this issue Jul 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Fidulus
Copy link

Fidulus commented Jul 22, 2024

Describe the bug
Screenshot

Screenshots
image

Desktop (please complete the following information):

Additional context
I am very sorry if this error is related to another mod. I would be very happy to provide any more info if necessary. I am not very good at reading the error logs, but i hope you have the patience and dedication to help me out anyway. Thank you very much.
I love the mod, because as of now it is the ONLY way to get dynamic lights in neoforge 21.0.x

@Fidulus Fidulus added the bug Something isn't working label Jul 22, 2024
@3gf8jv4dv
Copy link

3gf8jv4dv commented Jul 22, 2024

For some reason, ryoamiclights.toml is written with the same paragraph twice. This caused some kind of problem reading the config file.

Reproducible in NeoForge 21.0.114-beta using only RyoamicLights and ObsidianUI. The paragraph only appears once when entering the game, and a second one will appear after entering a world. So if using the latest version of NeoForge and mods, the first time you enter a world it will not crash, but the second time you launch the game it will crash.

Maybe it is because of some breaking changes in NeoForge? I thought I would test it out.

[light_sources]
	water_sensitive_check = true
	self = true
	block_entities = true
	entities = true
[light_sources]
	water_sensitive_check = true
	self = true
	block_entities = true
	entities = true

@3gf8jv4dv
Copy link

3gf8jv4dv commented Jul 22, 2024

It can be confirmed that this is caused by a breaking change in NeoForge. The problem started to occur starting with NeoForge 21.0.82-beta.

RELATED:

@NovaViper
Copy link

It's still broken even after update v0.2.10, the buggy config that @3gf8jv4dv mention is still being created even on NeoForge v21.0.167, which results in the game crashing after you relaunch it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants