ValheimOptimizer

v2.1.0·Updated 2025-07-20

Performance optimizer for Valheim: adaptive GC sweeps, dynamic LOD & texture adjustments, zone prefetch, prefab pooling, gradual mob despawn, JIT warm‑up, multiplayer‑safe behavior.

About this mod Author’s original text

Valheim Optimizer

Version: 2.1.0

Author: ChangosOF

A comprehensive performance optimizer for Valheim, featuring:

  • Adaptive GC Sweeps

Runs GC.Collect() & UnloadUnusedAssets() when frame time is under your MaxFrameTime.

  • Dynamic LOD & Texture Quality

Automatically adjusts QualitySettings.lodBias and masterTextureLimit based on frame time.

  • Zone Prefetching

Predictively loads world zones ahead of fast‑moving players to smooth travel.

  • Prefab Pooling & Impostors

Pools heavy prefabs (fires, trolls, benches, explosive arrows) and adds LODGroup impostors.

  • Gradual Mob Despawn

Server‑only, drip‑despawns up to 2 distant mobs per tick to reduce CPU & network load.

  • JIT Warm‑Up

Prepares hot methods on startup to avoid hitches.

  • Multiplayer Safe

All despawn logic runs only on the server to prevent client desyncs.

  • More stability making mobs despawn 2 mobs/tick for less stutter

Installation

  • Download ValheimOptimizer-2.1.0.zip.
  • Extract into your Valheim/BepInEx/plugins/ folder.
  • Ensure you have installed:
  • denikson-BepInExPack_Valheim-5.4.2202
  • ValheimModding-Jotunn-2.26.0
  • Launch Valheim.

Configuration

On first run a config file is generated at:

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_ValheimValheimModding-Jotunn

File & checksum

Filename
ValheimOptimizer-2.1.0.zip
File size
57.5 KiB