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

MoreHeadHoverFix

Fixes MoreHead 1.4.5 MenuElementHover.isHovering MissingFieldException on updated R.E.P.O. Client-side BepInEx 5 preloader patcher.

Date uploaded 3 weeks ago
Version 1.0.0
Download link KastoneX-MoreHeadHoverFix-1.0.0.zip
Downloads 50
Dependency string KastoneX-MoreHeadHoverFix-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

MoreHead Hover Fix

Compatibility fix for this error from MoreHead 1.4.5:

MissingFieldException: Field 'MenuElementHover.isHovering' not found.

Newer R.E.P.O. builds expose isHovering as an auto-property. MoreHead's MenuScrollBox_Update_Patch still requests the old field through Harmony.

This BepInEx 5 preloader patcher renames the property's private backing field to the legacy name in memory and updates references. The property remains available and reads/writes the same value. No game or MoreHead files are modified on disk. No original game or mod assemblies are included.

Installation

Install with r2modman/Thunderstore Mod Manager, then fully restart the game. For manual installation, copy BepInEx into your game/profile root. The DLL belongs in BepInEx/patchers/MoreHeadHoverFix, not plugins.

Scope

Client-side. Tested with MoreHead 1.4.5, BepInEx 5.4.23.5 and the local Unity 6000.3.17 R.E.P.O. build. Addresses this specific missing-field error; does not promise to fix other outdated MoreHead APIs. A future game build with an unrecognized field/property layout is skipped with a warning. Existing legacy fields are left unchanged.

Removal

Disable/uninstall this package and restart. For a manual installation remove only the MoreHeadHoverFix patcher folder.

License

MIT. Independent compatibility patch; not affiliated with Semiwork or the MoreHead author.

CHANGELOG

1.0.1

  • Also restore MenuSelectableElement.menuID, the next field requested by MoreHead.
  • Validate all 15 FieldRef delegates by running the actual MoreHead patch static initializer against the patched game assembly.
  • Validate getter storage before applying each compatibility change.

1.0.0

  • Initial isHovering compatibility patch (incomplete for R.E.P.O. 0.5.0).