Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ItemBundles and Stronghold Fix
R.E.P.O v0.5.1 fixes: ItemBundles and SillyValuables MissingMethodException spam (items not working), and the 20s+ loading freeze / Not Responding on Minecraft Stronghold and other legacy maps.
By Spo
| Last updated | 2 weeks ago |
| Total downloads | 707 |
| Total rating | 0 |
| Categories | Mods Misc Client-side Server-side AI Generated |
| Dependency string | Spo-ItemBundles_and_Stronghold_Fix-1.0.1 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
ItemBundles and Stronghold Fix
Two small compatibility fixes for R.E.P.O. v0.5.1 with REPOLib 4.3.0. Install on the host and every client.
Use this if you see any of these:
- Thousands of
MissingMethodException: Method not found: void .PhysGrabObjectImpactDetector.DestroyObject(bool)errors, and item bundles from ItemBundles do nothing. - The game freezes for 20+ seconds on the loading screen (Windows shows "Not Responding" and may close the game if you click) when Minecraft Stronghold or another custom map built with an older Unity version loads.
- The log stops right after
Replaced legacy TMP_FontAsset ...followed bySingularityGroup.HotReload ...warnings. - Repeated
MissingMethodException: Method not found: void .PlayerHealth.Hurt(int,bool,int)(orOverrideSpeed,PlayLoop,PossessChat,ParticleScriptExplosion.Spawn) from SillyValuables, and some of its valuables do nothing.
Formerly uploaded as
REPO051CompatFixes. If you have that installed, remove it and use this package instead.
1. ItemBundlesCompat (preloader patcher)
For SeroRonin-ItemBundles 1.5.2 (built for game v0.4.x). In v0.5.x three game methods changed
shape, so bundle logic failed every frame with
MissingMethodException: Method not found: void .PhysGrabObjectImpactDetector.DestroyObject(bool)
and bundles did not work.
The patcher adds the old signatures back to Assembly-CSharp at startup, each forwarding to the new method:
| Old (used by ItemBundles) | Forwards to (v0.5.1) |
|---|---|
PhysGrabObjectImpactDetector.DestroyObject(bool) |
DestroyObject(bool, false) |
InputManager.InputDisplayGet(InputKey, MenuKeybind.KeyType, MovementDirection) |
InputDisplayGet(.., KeyType, .., null, 0) |
PhysGrabber.ReleaseObjectRPC(bool, float, int, PhotonMessageInfo) |
ReleaseObjectRPC(.., .., .., -1, info) (local shim, not a network RPC) |
Log: [ItemBundlesCompat] Added 3/3 compatibility methods for ItemBundles.
Since 1.0.1 the same patcher also covers Sangrento-SillyValuables 7.0.7. v0.5.x appended an optional parameter to several methods; each shim forwards the old arguments and fills the new parameter with the game's own default:
| Old (used by SillyValuables) | New parameter filled with |
|---|---|
PlayerHealth.Hurt(int, bool, int) |
hurtByHeal = false |
PlayerController.OverrideSpeed(float, float) |
_sprintCap = -1 |
Sound.PlayLoop(bool, float, float, float) |
volumeMultiplier = 1 |
ParticleScriptExplosion.Spawn(... 8 args) |
investigateRadius = 0 |
ChatManager.PossessChat(... 8 args) |
_localeCode = null |
PhysGrabber.ReleaseObjectRPC(bool, float) |
viewID = -1 (release whatever is held), grabRevision = -1 |
Log: [ItemBundlesCompat] Added 6/6 compatibility methods for SillyValuables.
2. LegacyFontLoadFix (plugin)
REPOLib 4.3.0 replaces TMP font/sprite assets in bundles built with older Unity versions. When no
game asset matches (e.g. Minecraft Stronghold's legacy emojis Extraction Point sprite asset) it falls
back to Resources.LoadAll<T>(""), which loads every asset in the game's Resources and froze the
loading screen for ~20+ seconds (clicking during it could make Windows close the game as "Not responding").
This plugin resolves the same lookup first using already-loaded objects and TMP's own Resources folders, and seeds REPOLib's cache, so the full Resources scan never runs. It disables itself if REPOLib's internals differ from 4.3.0.
Log: [LegacyFontLoadFix] ... skipped the full Resources.LoadAll scan (avoids a long freeze).
Notes
- No code from ItemBundles, REPOLib or any map mod is included or modified on disk.
- Safe to remove once the original mods are updated for v0.5.x.
Credits
- ItemBundles by SeroRonin, REPOLib by Zehs, Minecraft Stronghold Level by AriIcedT. This package only adds compatibility shims.
- AI-assisted development (code written with Claude, tested in game on R.E.P.O. v0.5.1).