Hotfix 42.20.1: Server Performance and Memory Leak Fixes
Multiplayer servers no longer suffer significant performance problems from chunk unloading, and a memory leak that caused crashes over time is fixed.
Key Changes
- 1Chunk unloading on multiplayer servers no longer causes significant performance problems, which should fix most lag-related bugs on high-pop servers.
- 2A memory leak that could degrade performance and cause crashes over time is fixed.
- 3Vehicles no longer temporarily disappear for players after another player disconnects.
- 4Selecting Multiplayer with certain languages selected no longer causes errors and crashes.
- 5Memory usage is improved by reusing discarded world data.
- 6Mods can now write .json files.
All Changes
🌐Multiplayer(6)
- changeImproved Lua checksum validation for multiplayer anti-cheat.
- fixFixed significant performance problems with chunk unloading on multiplayer servers, which should fix most of the bugs players were getting on high-pop servers due to server lag.
- fixFixed errors and crashes that could occur when selecting Multiplayer while certain languages were selected.
- fixFixed vehicles temporarily disappearing for players after another player disconnected.
- fixFixed broken B41 worlds being allowed to be hosted on B42 servers.
- fixFixed players switching from B41 to B42 sometimes being met with a missing menu.
🐛Bug Fixes(3)
- fixImproved memory usage by reusing discarded world data.
- fixFixed a memory leak that could lead to performance degradation and crashes over time.
- fixFixed a rare exception that could occur during exploration.
🛠️Modding(2)
- newMods can now write .json files.
- fixFixed percent symbol handling in translation files; mod translations should use %% to display % characters.
Summary
A stable-branch hotfix focused on multiplayer and memory. Chunk unloading no longer causes significant performance problems on multiplayer servers, which should fix most of the bugs on high-pop servers caused by server lag. Other multiplayer fixes cover crashes when selecting Multiplayer with certain languages, vehicles disappearing after another player disconnects, broken B41 worlds being hosted on B42 servers and a missing menu when switching from B41 to B42; Lua checksum validation for anti-cheat is also improved.
A memory leak that could degrade performance and crash the game over time is fixed, memory usage is improved by reusing discarded world data, and a rare exception during exploration is fixed. For modders, mods can now write .json files and percent symbols in translation files are handled correctly (use %% to display %).
