
AzuModsValheim1Compat
Preloader compatibility patch for Valheim 1.0.7 / Unity 6. Fixes ZRoutedRpc.Everybody MissingFieldException in AzuCraftyBoxes, AzuAutoStore, and other Azumatt mods.AzuModsValheim1Compat
AzuModsValheim1Compat is a lightweight BepInEx Preloader compatibility patch for Valheim 1.0.7 (Unity 6 update). It resolves the game-crashing MissingFieldException: Field not found: .ZRoutedRpc.Everybody in mods created by Azumatt (including AzuCraftyBoxes, AzuAutoStore, and others).
[!IMPORTANT] Temporary Compatibility Patch: This is an unofficial community fix intended to keep your favorite mods functional until the original author, Azumatt, releases official updates. Once official updates are released on Thunderstore, you can simply uninstall this patch.
The Problem Explained
With the release of Valheim 1.0.7 (Unity 6 engine update):
- The game's internal
ZRoutedRpc.Everybodyfield was changed from apublic static readonly longfield to apublic const long(compile-time literal). - Older versions of Azumatt's
ServerSynclibrary embedded inside his mods attempt to read this via the IL instructionldsfld ZRoutedRpc::Everybody. - Under .NET / Mono CLR runtime, calling
ldsfldon a compile-time literal throwsMissingFieldException: Using static instructions with literal fieldinside the static constructor (.cctor()), completely preventing the mods from loading.
What This Patch Does
This patch runs in the BepInEx Preloader phase before the game engine starts plugins:
- Scans installed mods in your
BepInEx/pluginsfolder. - Detects Azumatt mods (
AzuCraftyBoxes,AzuAutoStore,AzuExtendedPlayerInventory,AzuAntiArthriticCrafting,AzuClock,PetPantry,Recycle_N_Reclaim, etc.). - Safely replaces the broken
ldsfldinstruction withldc.i8 0Ldirectly. - Preserves an automatic backup (
<ModName>.dll.orig.bak). - Allows your mods to load cleanly without crashing!
Supported Mods
- AzuCraftyBoxes (Craft from nearby chests)
- AzuAutoStore (Auto-deposit items into containers)
- AzuExtendedPlayerInventory
- AzuAntiArthriticCrafting
- AzuClock
- FactionAssigner
- MistBeGone
- PetPantry
- Recycle_N_Reclaim
- CurrencyPocket
- SaveCrossbowState
- TrueInstantLootDrop
Installation
Via r2modman / Thunderstore Mod Manager (Recommended)
- Install this mod into your profile.
- Start the game through the mod manager as usual.
Manual Installation
- Extract
AzuModsValheim1Compat.dllinto yourBepInEx/patchers/AzuModsValheim1Compat/folder. - Launch Valheim via Steam or BepInEx.
Українська (Опис українською)
AzuModsValheim1Compat — це прелоадер-патч сумісності BepInEx для Valheim 1.0.7 (Unity 6). Він усуває критичну помилку:
MissingFieldException: Field not found: .ZRoutedRpc.Everybody Due to: Using static instructions with literal field
у модах від Azumatt (AzuCraftyBoxes, AzuAutoStore, AzuExtendedPlayerInventory та інших).
Що робить патч:
- Під час запуску гри (Preloader) перевіряє плагіни в папці
BepInEx/plugins. - Знаходить збірки модів Azumatt та замінює застарілу IL-інструкцію звернення до
ZRoutedRpc.Everybodyна коректну константу0L. - Створює резервну копію оригіналу (
.orig.bak). - Дозволяє користуватися модами без вильотів та зависань!
[!NOTE] Це тимчасове рішення для спільноти. Як тільки Azumatt випустить офіційне оновлення своїх модів на Thunderstore, цей патч можна буде просто видалити.
Credits & License
- Developed for the Valheim modding community.
- MIT License.

