DezzyCode Forum
Mit Discord anmeldenLogin

Error when crafting after updating Bepinex

BugGefixt 5.1.11 von Vortec · vor 1 Std.

Status
Gefixt 5.1.11
Version
5.1.11
Modus
Singleplayer
Log-Auszug
[Error  :  HarmonyX] Error while running static void BetrValheim.UI.ExtraInventory+CraftDestinationPatch::Finalizer(System.Tuple<Inventory, string> __state). Error: System.NullReferenceException: Object reference not set to an instance of an object
  at BetrValheim.UI.ExtraInventory+CraftDestinationPatch.Finalizer (System.Tuple`2[T1,T2] __state) [0x00000] in <f19bde05f033462383c318fe98dc6ae5>:0
  at (wrapper dynamic-method) InventoryGui.DMD<InventoryGui::DoCrafting>(InventoryGui,Player)
[Error  : Unity Log] MissingMethodException: Method not found: single .PlayerProfile.GetStat(PlayerStatType)
Stack trace:
(wrapper dynamic-method) InventoryGui.DMD<InventoryGui::DoCrafting>(InventoryGui,Player)
(wrapper dynamic-method) InventoryGui.DMD<InventoryGui::UpdateRecipe>(InventoryGui,Player,single)
(wrapper dynamic-method) InventoryGui.DMD<InventoryGui::Update>(InventoryGui)
Vortec TESTER · bearbeitet vor 1 Std. #1

When crafting or upgrading at a workstation the error below gets spammed to the Bepinex window. This was working before Bepinex updated to 5.4.2360 this morning.

https://thunderstore.io/c/valheim/p/denikson/BepInExPack_Valheim/

[Error : HarmonyX] Error while running static void BetrValheim.UI.ExtraInventory+CraftDestinationPatch::Finalizer(System.Tuple<Inventory, string> __state). Error: System.NullReferenceException: Object reference not set to an instance of an object
at BetrValheim.UI.ExtraInventory+CraftDestinationPatch.Finalizer (System.Tuple`2[T1,T2] __state) [0x00000] in <f19bde05f033462383c318fe98dc6ae5>:0
at (wrapper dynamic-method) InventoryGui.DMD<InventoryGui::DoCrafting>(InventoryGui,Player)
[Error : Unity Log] MissingMethodException: Method not found: single .PlayerProfile.GetStat(PlayerStatType)
Stack trace:
(wrapper dynamic-method) InventoryGui.DMD<InventoryGui::DoCrafting>(InventoryGui,Player)
(wrapper dynamic-method) InventoryGui.DMD<InventoryGui::UpdateRecipe>(InventoryGui,Player,single)
(wrapper dynamic-method) InventoryGui.DMD<InventoryGui::Update>(InventoryGui)

0
Vortec TESTER #3

It's still the same. The crafting bar fills and then just sits there.

0
Dezzy😈 DEV #4

Thanks for testing! The BetrValheim error is gone now, but the one that's left (the "GetStat" one) is what stops crafting. It's not coming from BetrValheim. Most likely another mod hasn't caught up with today's Valheim update yet.
Could you send me your whole LogOutput.log from the BepInEx folder, right after trying to craft once? It has your game version and every mod you use, so I can tell you which one it is.

KindRegards(DezzyCode);

Mod als ZIP installieren →

0
Dezzy😈 DEV #6

It looks tied to today's Valheim update.
Could you try two quick things? First, in Steam: right-click Valheim → Properties → Installed Files → "Verify integrity of game files", then try crafting again. If it still hangs, start the game once with only BepInEx and BetrValheim (everything else disabled) and see if crafting works. That tells us right away whether it's the game update or a mod.

KindRegards(DezzyCode);

Mod als ZIP installieren →

0
Vortec TESTER #7

Validating the files didn't find any errors.

I made a new world with just Bepinex, Jotunn and BetrValheim and it works, so it must be another mod.

0
Vortec TESTER #9

5.1.11 from the 25th

0
Vortec TESTER #10

I just tried with the last one you sent in this thread and it works also

0
Dezzy😈 DEV #12
Vortec wrote:
I just tried with the last one you sent in this thread and it works also

Found it! It’s PotionsPlus by OdinPlus. It isn’t updated for today’s Valheim patch yet and breaks crafting. Disable it for now and crafting works again. The extra error from BetrValheim is fixed in the next update.

KindRegards(DezzyCode);

Mod als ZIP installieren →

0
Vortec TESTER · bearbeitet vor 24 Min. #13

Thank you! I just verified that it does indeed work without Potions Plus.

1