[Crash] Failed to write (REPLACE_ATOMIC) the config to: ...\config\ae2-client.toml
pietro-lopes opened this issue ยท 3 comments
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
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?
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.
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......