Skarif-ValheimPerformanceOverhaul icon

ValheimPerformanceOverhaul

Comprehensive performance optimization mod. Reduces CPU/GPU load via light culling, LOD system, AI throttling, distance culling, piece sleep management and more. Designed for large bases and busy servers.

CHANGELOG

Changelog

2.6.0

Removed

  • NetworkManager — tied to ZSteamSocket, incompatible with crossplay (PlayFab transport). Pure Steam sessions were unaffected but the risk outweighed the benefit.
  • ZDOOptimizer — ZDOMan.CreateSyncList filtering could cause ghost objects / desync on servers with active gameplay.
  • ZstdSharp and dict.small resources (no longer needed).

Fixed

  • LightLODManager: ScanForLights() (FindObjectsOfType) was called on Start unnecessarily — the scene is empty at that point and the reactive patch handles registration correctly.
  • AdvancedLightManager: periodic PerformLightScan() every 5 seconds caused micro-freezes (FindObjectsByType is O(N) over entire scene). Now runs once on Start only.
  • DistanceCuller: each culler had its own MonoBehaviour.Update(). On 300 building pieces this meant 300 Update calls per frame. All cullers now register with DistanceCullerManager and are updated in a single loop every 2 seconds.
  • PiecePatches: ConcurrentDictionary replaced with Dictionary. All access is from main thread — the lock overhead was pure waste.
  • AsyncWearInit: added early return in Update() when queue is empty.

2.5.1

  • Initial public release