Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
23
Size
16KB
ADDatHost Valheim hosting
30% off

VargheimSoftRefCompat (temporary)

A tiny BepInEx preloader patcher for the Vargheim Season 2 pack. Install it on the server and every client.

What it fixes

Valheim 1.0.30 renamed SoftReferenceableAssets.SoftReference<T>.Name to .name. Mods built against the old name (for example More World Locations AIO 5.2.4) throw MissingMethodException while registering their locations and dungeon rooms. On a server, a world saved in that state can lose those location records.

This patcher adds the old getter back as an alias of the new one when the game's SoftReferenceableAssets.dll is loaded.

  • In memory only: no game file and no other mod's file is changed on disk.
  • Does nothing if the game already has the old getter.
  • It does not bring back locations a world has already lost.

Check it is working

BepInEx/LogOutput.log contains:

[Info :VargheimSoftRefCompat] Added SoftReference1.get_Name as an alias of get_name (0.1.0).`

Remove it

Uninstall once the affected mods ship their own update for Valheim 1.0.30+.

Made with AI assistance (Claude) for the Ghost Pack / Vargheim server.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.