I have a problem where sometimes after I have exited to the OS and relaunched Luanti and then loaded the world I was playing, it only gets to "Creating Server" and then crashes. I get this error from debug.txt:
2025-11-13 12:23:19: ERROR[Main]: A serialization error occurred:
2025-11-13 12:23:19: ERROR[Main]: ServerEnvironment::loadMeta(): EnvArgsEnd not found!
2025-11-13 12:23:19: ERROR[Main]: The server is probably running a different version of Luanti.
2025-11-13 12:23:19: ACTION[ServerStop]: Server: Shutting down
2025-11-13 12:23:19: ERROR[ServerStop]: In thread 7e409a3d96c0:
2025-11-13 12:23:19: ERROR[ServerStop]: /media/rpimaniac/PortableSSD/Applications/luanti-5.14.0/src/server/blockmodifier.cpp:404: std::string LBMManager::createIntroductionTimesString(): A fatal error occurred: attempted to query on non fully set up LBMManager
Aborted (core dumped)
And I cannot load the world again. However, I found a solution where I paste the world.mt, and map.sqlite into a new world folder, and it works okay. I think there are some mapgen glitches though :D
screenshot_20251113_070945.png (901 KiB) Viewed 449 times
screenshot_20251112_172014.png (681.69 KiB) Viewed 449 times
screenshot_20251112_183657.png (803.35 KiB) Viewed 449 times
the mapgen glitches are from the seed of the original world being different from the new world you pasted the map.sqlite + world.mt files into
you should paste the map_meta.txt as it has the seed
(or alternatively find the original seed by going to the corrupted world's map_meta.txt and finding a line that is just `seed = <seed>` then pasting that seed into the "seed" field in the world creator)
from the error message (and a little bit of experimenting), `env_meta.txt` is corrupted
i dont know what the corrupted version looks like (probably complete binary non-sense); but replacing it should work at the cost of things like the days counter being reset