Game Crash After LAN World Save & Exit
Hallo all. I'm having a quite troublesome crash that I can't seem to get fixed:
I'm running a custom modpack with quite a lot of mods mostly Optimization & Vanilla+ mods, The world loads and runs perfectly in Single-player, but when I open it to LAN and then save and quite, Minecraft crashes immediately upon exiting (Everything gets saved luckily).
This crash only happens after playing LAN, and only when exiting the world - not during gameplay.
What I've Found:
The crash appears to be caused by DH attempting to get the world folder name or save LOD data after disconnecting from the LAN world.
The error specifically references:
java.util.NoSuchElementException: No value presentThis suggests that DH is expecting a world folder path that doesn't exist or isn't set when exiting a LAN session. What I've Tried: 1. Checked and experimented with serverFolderMode in distant_horizons.toml (No working options found in 2.3.2-b) 2. Upgraded to mod version 2.3.3 (Had the same problem) 3. Tried creating a folder manually. 4. Looked through the Discord support and GitHub issues but didn;t find a similar report. Mod setup Minecraft Version: 1.12.5 DH Version: 2.3.2/2.3.3 Launcher: Modrinth (I have a feeling Modrinth might be the problem but I did not see any mention of it being a problem with this mod) Full Crash Log: https://gist.github.com/Donavon777/fbe3c87b40f582c74b8190e17e8d0bc0
at com.seibel.distanthorizons.common.wrappers.world.ServerLevelWrapper.getWorldFolderName(ServerLevelWrapper.java:119)
Gist
Minecraft 1.21.5 crash when exiting LAN world with Distant Horizons...
Minecraft 1.21.5 crash when exiting LAN world with Distant Horizons 2.3.2-b - minecraft_crash_lan_exit_dh.txt
0 Replies