BackpacksVRFix
Compatibility patch for Smoothbrain Backpacks and ValheimVR. Keeps equipped backpack inventory attached to ValheimVR wrist inventory while preserving normal crafting station and container behaviorBackpacksVRFix
BackpacksVRFix is a small BepInEx/Harmony compatibility patch for using Smoothbrain's Backpacks mod with ValheimVR.
What it fixes
ValheimVR has an option to attach the inventory UI to your wrist. Backpacks opens an equipped backpack as a fake inventory container inside InventoryGui. ValheimVR normally detaches wrist inventory whenever InventoryGui.IsContainerOpen() is true, because normal chests/containers should stay in the regular VR UI position.
That made the backpack inventory behave like a normal/vanilla VR container instead of staying attached to the wrist inventory panel.
BackpacksVRFix detects when the open "container" is Backpacks' fake backpack container and prevents ValheimVR from detaching the inventory panel from the wrist in that one case.
Result
With an equipped backpack:
- Opening inventory keeps the inventory panel on your wrist.
- The backpack inventory appears in the correct inventory-side position.
- Crafting station menus continue to behave normally.
- Normal chests/containers continue to behave normally.
Requirements
- BepInEx for Valheim
- ValheimVR
- Backpacks by Smoothbrain
Installation
Drop BackpacksVRFix.dll into your BepInEx plugins folder.
Example:
BepInEx/plugins/BackpacksVRFix/BackpacksVRFix.dll
Do not replace Backpacks.dll or ValheimVRMod.dll. This mod is a separate compatibility patch.
Configuration
A config file is generated by BepInEx after first launch.
BepInEx/config/Avo.BackpacksVRFix.cfg
Options:
Enable Fix— defaulttrueDebug Logging— defaultfalse
Notes
This mod does not modify Backpacks or ValheimVR files.
