You are viewing a potentially older version of this package. View all versions.
tocoron-TocoronCompat1030-1.0.0 icon

TocoronCompat1030

BepInEx preloader patcher for Valheim 1.0.30: re-adds SoftReference<T>.get_Name so mods built before 1.0.30 stop throwing MissingMethodException.

By tocoron
Date uploaded 10 hours ago
Version 1.0.0
Download link tocoron-TocoronCompat1030-1.0.0.zip
Downloads 31
Dependency string tocoron-TocoronCompat1030-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2360

README

TocoronCompat1030

Valheim 1.0.30 renamed SoftReference<T>.Name to .name. Mods compiled before that update (for example MeadWorks Dungeons 1.0.5 and StarLevelSystem 1.34.0) call get_Name and fail with MissingMethodException: get_Name.

This BepInEx preloader patcher adds a get_Name method back to SoftReferenceableAssets.SoftReference<T>, which simply calls the new get_name. Nothing else is changed. If get_Name already exists, it does nothing.

Install on the server and every client. Remove it once the affected mods publish versions built for Valheim 1.0.30.

CHANGELOG

1.0.0

  • First release.