Open ElweThor opened 1 year ago
Still incompatible, even the last AUGA release. Not only: as soon as I log in the game (in my local map), I see a (fake) Better Trader buy/sell panel (I'm at my home base, not at the Trader) which can't be closed and it's at top layer (whatever panel I open, e.g. the inventory, goes under it).
The issue here is that the Backpacks mod you're using is using a custom inventory container and not using the vanilla Inventory container. As such, Auga can't display it correctly.
As an example, if you use Jotunn Backpacks, you'll see it works flawlessly with Auga. That's because it's using the native inventory object.
I had to disable AUGA (which I love) to be able to use Backpacks (which I need): when I open a backpack, from my inventory), I see that in the log:
NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component) at Backpacks.CustomContainer+OpenFakeItemsContainer.Open (InventoryGui invGui, ItemDrop+ItemData item) [0x00079] in :0 at Backpacks.CustomContainer+OpenFakeItemsContainer.Prefix (InventoryGui __instance) [0x00071] in :0 at (wrapper dynamic-method) InventoryGui.DMDInventoryGui::UpdateContainer(InventoryGui,Player) at (wrapper dynamic-method) InventoryGui.DMDInventoryGui::Update(InventoryGui)
while Backpacks (and AUGA) remains useable, but when I try to close it, I can't, and receive this other message:
NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component) at Backpacks.CustomContainer+CloseFakeItemContainer.Prefix (InventoryGui __instance) [0x00009] in :0 at (wrapper dynamic-method) InventoryGui.DMDInventoryGui::Hide(InventoryGui) at (wrapper dynamic-method) InventoryGui.DMDInventoryGui::Update(InventoryGui)
At that point I had no way to close my backpack and to play the game (maybe there is some trick to close it but didn't find it at now), as ESC don't even work, same as pressing E or TAB, so I've to terminate Valheim's task to brutally exit the game (not the very best, for opened files).
I tried asking Smoothbrain already, 'cause I initially thought the problem was into a support library, but he pointed me to AUGA so I tried disabling it and Backpacks are now usable. Needless to say I would like AUGA too is fixed as I love its clean design (far more than the original/default UI).