Deviator Posted April 9, 2021 Report Share Posted April 9, 2021 Steps to produce... Copy miningbag.json to miningbagnew.json In the new file, change the code: to miningbagnew Change the slotBgColor (leaving the color the same does not cause crash) Open game, open inventory screen (inventory screen closed does not cause crash) then swap the 2 different bags in the backpack slots Running on 64 bit Windows with 16 GB RAM Version: v1.14.8 (Stable)4/9/2021 8:47:24 AM: Critical error occurred System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Vintagestory.API.Client.GuiElementItemSlotGridBase.RenderInteractiveElements(Single deltaTime) at Vintagestory.API.Client.GuiComposer.Render(Single deltaTime) at Vintagestory.API.Client.GuiDialog.OnRenderGUI(Single deltaTime) at Vintagestory.Client.NoObf.GuiManager.OnRenderFrameGUI(Single deltaTime) at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) at _jeEziyUSYl0BpbOxT46FYwj5VWL._IIIrDcgMyMKwpTkEZsHikpfl3dh(Single ) at _idIkJkIueHHf3Oz2WNlBdD0E1XR._DvzT6D0wN3fMakeuDyljJJ09hok(Single ) at _idIkJkIueHHf3Oz2WNlBdD0E1XR._V5piYzG7beYPldE6UVxY58dqacE(Single ) at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) at OpenTK.GameWindow.DispatchRenderFrame() at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) at _YrS2W1MoaeqC4xqH8ItdZB6vADN._8t1BmEWVlCT9mjx5M0vFIzU9tif(_7T00Rjby4si0wyEBez5dXNqLm7h , String[] ) at _ejKuc6cg0k8V39o8jDIzquyczbO._8t1BmEWVlCT9mjx5M0vFIzU9tif(ThreadStart ) ------------------------------- Link to comment Share on other sites More sharing options...
Deviator Posted April 22, 2021 Author Report Share Posted April 22, 2021 After more testing, it looks like this only happens if the quantitySlots are the same between the bags AND the slotBgColor is different for each bag. Still not sure what might be causing this. Link to comment Share on other sites More sharing options...
Recommended Posts