
You are viewing a potentially older version of this package. View Latest Version
CLLCCompatibility Crashfixx
Fixes Valheim 1.0+ boss altar spawn crash for CreatureLevelAndLootControl alongside all 1.0.12 API compatibility repairs.CLLC Compatibility CrashFix (Valheim 1.0+)
Compatibility and Boss Spawn Crash Fix for CreatureLevelAndLootControl (CLLC) on Valheim 1.0+ (Ashlands and newer).
What This Fixes
- Boss Altar Summoning Crash (Fixed):
- In Valheim 1.0+,
OfferingBowl.DelayedSpawnBossshifted internal local variables (GameObjectto slot 1,BaseAIto slot 2). - Original CLLC hardcoded loading slot 1, mistakenly treating the boss's 3D GameObject as a Component/BaseAI, causing an immediate fatal engine crash (
Access Violation in UnityPlayer.dll / GCHandle:GetTarget) the moment Eikthyr or any boss appeared. - This package corrects the transpiler instruction to target slot 2 (
BaseAI) and adds an upfront null-guard.
- In Valheim 1.0+,
- All Prior Valheim 1.0.12 Compatibility Repairs:
- Updates sector APIs (
ZDO.GetSector,ZoneSystem.GetZonePos). - Fixes
EffectList.Create(5-argument to 6-argument forwarding). - Fixes
Inventory.Changedand inventory crafting notifications. - Fixes
Minimap.noForestcolor field references. - Fixes
CookingStation.SpawnItemandInventory.AddItemargument counts.
- Updates sector APIs (
Requirements
- Smoothbrain-CreatureLevelAndLootControl-4.6.4
- denikson-BepInExPack_Valheim-5.4.2350 (or newer)
Installation
Thunderstore / r2modman:
- Disable or uninstall older
L4zerShark_Team-CLLCCompatibilityif present (to avoid duplicate loaders). - Install / Import this mod (
CLLCCompatibility_Crashfixx). - Ensure the original
Smoothbrain-CreatureLevelAndLootControlremains installed and enabled. - Launch modded Valheim!
Dedicated Server Manual Install:
- Extract the
patchers/folder into your server'sBepInEx/directory so the DLL resides at:BepInEx/patchers/CLLCCompatibility_Crashfixx/CLLCCompatibility.dll - Remove any old
CreatureLevelControl.dllinsideBepInEx/cache/ValheimThreeCompatibility/so it rebuilds cleanly. - Start the server normally.

