Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
LeanHeim
Client-side performance fixes for Valheim: smoother big bases, storms and portals. Fixes snow and per-second update spikes, moves asset cleanup to loading screens. Works with vanilla players and servers.
CHANGELOG
Changelog
0.5.2 (current build, not published yet)
- New setting
IncrementalGcTimeSliceMs(section "8 - Memory", default 0 = game value untouched): if the game build uses incremental garbage collection, it caps how many milliseconds per frame the collector may work, so one long pause becomes several short ones. Does not change gameplay. The startup log now prints the GC mode, time slice and mono heap size. - Profiler: freeze (hitch) lines now also show the mono heap size and whether a garbage collection happened during the frame; the periodic report shows gen0 collections and heap size.
- Profiler: method names are cached, so the profiler itself allocates less and adds less overhead.
- Fixed the version number inside the plugin (it said 0.5.0 while the package was 0.5.1).
0.5.1
- Added a Ko-fi support link to the README.
0.5.0
- First public release.
- Building fixes: snow growth no longer depends on FPS, fewer snow network writes, per-second update pass spread over several frames.
- Creature visual updates run once per frame instead of every physics step.
- Unload unused assets moved to loading screens (teleport, respawn); the hourly cleanup is postponed to the next safe moment.
- Optional weather, low-end GPU and rendering settings.
- Built-in profiler and freeze detector (off by default).