anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
42 stars 16 forks source link

crash: cliking SLING icon in help pages #3368

Closed pingouyn closed 8 months ago

pingouyn commented 8 months ago

Game Version

1.19.0.rc5

Platform

Linux

Modded

Modded

SP/MP

Multiplayer

Description

Only mod is hudclock-3.4.0.

Game crashed to desktop upon clicking on the sling icon in the in-game help pages. Tried a second time, happened again.

I could access the sling help page in release candidate 4 of v1.19.0.rc4.

Edit : Just tried with other recipes, most seem fine but some crash the game also (plain cloth for instance). Also some recipes do not bring the relevant help page when "h"is pressed over an item (for instance "cloth" (linen)). There seem to be a real issue with the help pages basically. Happy bug hunting, and a happy new year to you all!

How to reproduce

In-game, crafted a rope. In the inventory screen, mouse over to the rope and press "h" for help. In the in-game help pages, clicked on the sling icon from the rope help page. Game crashed.

Screenshots

No response

Logs

Running on 64 bit Linux (Ubuntu 23.10) [Kernel 6.5.0.14] with 31994 MB RAM Game Version: v1.19.0-rc.5 (Unstable) 03/01/2024 20:37:54: Critical error occurred Loaded Mods: game@1.19.0-rc.5, hudclock@3.4.0, creative@1.19.0-rc.5, survival@1.19.0-rc.5 System.DivideByZeroException: Attempted to divide by zero. at Vintagestory.API.Client.SlideshowGridRecipeTextComponent.RenderInteractiveElements(Single deltaTime, Double renderX, Double renderY, Double renderZ) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Text\Richtext\SlideshowGridRecipeTextComponent.cs:line 265 at Vintagestory.API.Client.GuiElementRichtext.RenderInteractiveElements(Single deltaTime) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Text\GuiElementRichtext.cs:line 472 at Vintagestory.API.Client.GuiComposer.Render(Single deltaTime) in VintagestoryApi\Client\UI\GuiComposer.cs:line 716 at Vintagestory.API.Client.GuiDialog.OnRenderGUI(Single deltaTime) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 384 at Vintagestory.GameContent.GuiDialogHandbook.OnRenderGUI(Single deltaTime) in VSSurvivalMod\Systems\Handbook\Gui\GuiDialogHandbook.cs:line 493 at Vintagestory.Client.NoObf.GuiManager.OnRenderFrameGUI(Single deltaTime) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 318 at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 185 at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 802 at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1006 at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 674 at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 649 at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 78 at OpenTK.Windowing.Desktop.GameWindow.Run() at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 317 at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128 at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

Craluminum2413 commented 8 months ago

Duplicate of #3366