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

[Crash] Failed to write (REPLACE_ATOMIC) the config to: ...\config\ae2-client.toml #8332

Open
pietro-lopes opened this issue Jan 15, 2025 · 3 comments
Labels
bug Self explanatory?

Comments

@pietro-lopes
Copy link

Describe the bug

Player said: loaded in, tried changing my ae2 interface to large or whatever then crashed

How to reproduce the bug

Player said: loaded in, tried changing my ae2 interface to large or whatever then crashed

Expected behavior

No crash

Additional details

No response

Which minecraft version are you using?

1.21

On which mod loaders does it happen?

NeoForge

Crash log

https://mclo.gs/p1izrwd#L8122

@pietro-lopes pietro-lopes added the bug Self explanatory? label Jan 15, 2025
@shartte
Copy link
Member

shartte commented Jan 15, 2025

This is sadly a problem with the config lib used by Forge/NeoForge that we can't really fix...
I can take a look if we're still saving the config too often to mitigate this.
Did this happen only once?

@pietro-lopes
Copy link
Author

User said he had a very busy setup and toned down to see if would crash again and he didn't report back, so looks like it worked.

@shartte
Copy link
Member

shartte commented Jan 15, 2025

We did have a problem in the past where we did call save too often, but the underlying issue is that Windows Defender locks the config-file for a brief moment and repeated saves of the same config will then run into this issue. The NightConfig author is aware of it, the only real way to fix it seems to be retries......

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

No branches or pull requests

2 participants