Kaptuin Skuim Posted May 6 Report Posted May 6 When opening the handbook and searching Coocked or Meat crashes game aswell as searching crock and scrolling down, it then returns this in the crash reporter Running on 64 bit Windows 10.0.26200.0 with 14226 MB RAM Game Version: v1.22.2 (Stable) 5/6/2026 12:23:58 PM: Critical error occurred Loaded Mods: ancientarmory@1.1.8, canoemode@1.0.3, chiseltools@1.17.1, decor@1.3.1, bovinae@0.3.5, capreolinae@2.0.12, handbookcrashfix@1.0.2, primitivesurvival@5.0.5, sortablestorage@3.0.0, game@1.22.2, animalcages@5.0.0, bedspawnv2@1.6.4, betterfirepit@1.1.6, betterruins@0.6.0, carryon@1.14.0, chiselingqolpatches@0.1.3, commonlib@2.8.0, foodshelves@3.0.1, kevinsfurniture@1.8.1, knapster@4.0.0, medievalexpansionpatch@1.3.7, ndlwoodentorchholder@3.0.1, noticeboard@1.3.0, portcullis@1220.0.0, projectiletracker@1.0.7, rpvoicechat@2.5.0, slowtox@5.0.0, spawnhighlight@1.2.0, thecritterpack@1.3.4, creative@1.22.2, survival@1.22.2, expandedfoods@2.0.0-dev.3, playercorpse@1.12.0 System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at Vintagestory.GameContent.CookingRecipe.GenerateRandomMeal(ICoreAPI api, Dictionary`2& cachedValidStacksByIngredient, ItemStack[] allstacks, Int32 slots, ItemStack ingredientStack) in VSSurvivalMod\Systems\Cooking\CookingRecipe.cs:line 889 at Vintagestory.GameContent.GuiHandbookMealRecipePage.RenderListEntryTo(ICoreClientAPI capi, Single dt, Double x, Double y, Double cellWidth, Double cellHeight) in VSSurvivalMod\Systems\Handbook\Gui\GuiHandbookMealRecipePage.cs:line 149 at Vintagestory.GameContent.GuiElementFlatList.RenderInteractiveElements(Single deltaTime) in VSSurvivalMod\Systems\Handbook\Gui\GuiElementFlatList.cs:line 223 at Vintagestory.API.Client.GuiComposer.Render(Single deltaTime) in VintagestoryApi\Client\UI\GuiComposer.cs:line 737 at Vintagestory.GameContent.GuiDialogHandbook.OnRenderGUI(Single deltaTime) in VSSurvivalMod\Systems\Handbook\Gui\GuiDialogHandbook.cs:line 562 at Vintagestory.Client.NoObf.GuiManager.OnRenderFrameGUI(Single deltaTime) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 309 at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1048 at Vintagestory.Client.GuiScreenRunningGame.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 251 at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 783 at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 686 at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 112 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
Vexxvididu Posted May 6 Report Posted May 6 Do you think this could be one of those mods having an error with a custom entry?
LadyWYT Posted May 6 Report Posted May 6 Welcome to the forums! Does the issue happen without any mods? I would make sure that your mods are updated for 1.22, or otherwise known to work correctly in the event of older mods(not likely due to changes 1.22 introduced on the back end). 8 hours ago, Kaptuin Skuim said: Vintagestory.GameContent.CookingRecipe.GenerateRandomMeal Given that the crash seems to be related to meals, my first suspect would be Expanded Foods. The most recent version of the mod is a dev version for 1.21, which is not only more likely to contain bugs, but is also likely to have issues on 1.22 as well.
Recommended Posts