Skip to content

1.22.1 crashing when right clicking metal plates #124

Description

@BenjaminKayEight

survival@1.22.1, xlibfork@1.0.2, xvshaders@0.1.5, autoconfiglib@2.0.10, bettersmelting@0.3.0, vstsdlcounter@3.0.0, grindstones@1.2.1, medievalarchitecture@1.1.1, smithingplustweaks@1.2.0, stonequarry122hack@3.5.2, terrainslabs@1.0.13, xskillsfork@1.0.11, xskillsgilded@1.3.22
Involved Harmony IDs: com.SpecializedClasses.patches, attributerenderinglibrary
System.TypeLoadException: Could not load type 'Vintagestory.API.Common.RecipeBase1' from assembly 'VintagestoryAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. at MonoMod.Core.Interop.CoreCLR.V60.InvokeCompileMethod(IntPtr functionPtr, IntPtr thisPtr, IntPtr corJitInfo, CORINFO_METHOD_INFO* methodInfo, UInt32 flags, Byte** nativeEntry, UInt32* nativeSizeOfCode) at MonoMod.Core.Platforms.Runtimes.Core60Runtime.JitHookDelegateHolder.CompileMethodHook(IntPtr jit, IntPtr corJitInfo, CORINFO_METHOD_INFO* methodInfo, UInt32 flags, Byte** nativeEntry, UInt32* nativeSizeOfCode) at SmithingPlus.Common.CollectibleBehaviorAnvilWorkable.<>c__DisplayClass14_0.<GetMatchingRecipes>b__0(SmithingRecipe r) in /_/SmithingPlus/Common/CollectibleBehaviorAnvilWorkable.cs:line 91 at SmithingPlus.Common.CollectibleBehaviorAnvilWorkable.<>c__DisplayClass14_0.<GetMatchingRecipes>b__0(SmithingRecipe r) in /_/SmithingPlus/Common/CollectibleBehaviorAnvilWorkable.cs:line 91 at System.Linq.Enumerable.ArrayWhereIterator1.ToArray(ReadOnlySpan1 source, Func2 predicate)
at System.Linq.Enumerable.ListWhereIterator1.ToArray() at System.Linq.Enumerable.OrderedIterator2.MoveNext()
at System.Linq.Enumerable.DistinctByIterator[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)+MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at SmithingPlus.Common.CollectibleBehaviorAnvilWorkable.GetMatchingRecipes(ItemStack stack) in /_/SmithingPlus/Common/CollectibleBehaviorAnvilWorkable.cs:line 89
at Vintagestory.GameContent.CollectibleBehaviorHandbookTextAndExtraInfo.addCreatedByInfo_Patch3(CollectibleBehaviorHandbookTextAndExtraInfo this, ICoreClientAPI capi, ItemStack[] allStacks, ActionConsumable1 openDetailPageFor, ItemStack stack, List1 components, Single marginTop, List1 containers, List1 fuels, List1 molds, List1 anvils, Boolean haveText)
at Vintagestory.GameContent.CollectibleBehaviorHandbookTextAndExtraInfo.GetHandbookInfo_Patch1(CollectibleBehaviorHandbookTextAndExtraInfo this, ItemSlot inSlot, ICoreClientAPI capi, ItemStack[] allStacks, ActionConsumable1 openDetailPageFor) at Vintagestory.GameContent.GuiHandbookItemStackPage.GetPageText(ICoreClientAPI capi, ItemStack[] allStacks, ActionConsumable1 openDetailPageFor) in VSSurvivalMod\Systems\Handbook\Gui\GuiHandbookItemStackPage.cs:line 119
at Vintagestory.GameContent.GuiHandbookItemStackPage.ComposePage(GuiComposer detailViewGui, ElementBounds textBounds, ItemStack[] allstacks, ActionConsumable1 openDetailPageFor) in VSSurvivalMod\Systems\Handbook\Gui\GuiHandbookItemStackPage.cs:line 113 at Vintagestory.GameContent.ModSystemSurvivalHandbook.onComposePage(GuiHandbookPage page, GuiComposer detailViewGui, ElementBounds textBounds, ActionConsumable1 openDetailPageFor) in VSSurvivalMod\Systems\Handbook\SurvivalHandbook.cs:line 135
at Vintagestory.GameContent.GuiDialogHandbook.initDetailGui() in VSSurvivalMod\Systems\Handbook\Gui\GuiDialogHandbook.cs:line 260
at Vintagestory.GameContent.GuiDialogHandbook.OpenDetailPageFor(String pageCode) in VSSurvivalMod\Systems\Handbook\Gui\GuiDialogHandbook.cs:line 329
at Vintagestory.GameContent.ModSystemSurvivalHandbook.OnSurvivalHandbookHotkey(KeyCombination key) in VSSurvivalMod\Systems\Handbook\SurvivalHandbook.cs:line 224
at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1876
at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(KeyboardKeyEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 253
at OpenTK.Windowing.Desktop.NativeWindow.KeyCallback(Window* window, Keys key, Int32 scancode, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 354
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 131
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions