UIInfoSuite2 icon indicating copy to clipboard operation
UIInfoSuite2 copied to clipboard

[Visual Bug]: Completed blacksmith upgrade of Steel Pan has no icon and spams an error message

Open forrester-marc opened this issue 1 year ago • 3 comments

Mod Version

v2.3.4

Multiplayer

Multiplayer (Host)

Visual Settings

UI Scale and Zoom 100%

SMAPI Log

No response

Description

Issue

Steps to Reproduce

  1. Upgrade pan to steel
  2. Sleep twice

forrester-marc avatar Jun 13 '24 13:06 forrester-marc

Upgrading a pan to steel at the blacksmiths starts with a default watering can icon then becomes blank when it's ready to collect. Console error repeats several times per second, log file was 300M and crashed smapi.io

[UI Info Suite 2] This mod failed in the Display.RenderedHud event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at UIInfoSuite2.UIElements.ShowToolUpgradeStatus.OnRenderedHud(Object sender, RenderedHudEventArgs e) in C:\Users\Drew\RiderProjects\DH-UIInfoSuite2\UIInfoSuite2\UIElements\ShowToolUpgradeStatus.cs:line 131 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101

forrester-marc avatar Jun 13 '24 13:06 forrester-marc

@forrester-marc Hey there, sorry for the inconvenience! I've fixed this for the next release. In the meantime, please try this debug build to stop the error spamming :)

UIInfoSuite2 2.3.4+8577e509.zip

drewhoener avatar Jun 13 '24 13:06 drewhoener

Nice one, tysm for the log spam fix. Icon displaying and console sanity confirmed!

forrester-marc avatar Jun 14 '24 21:06 forrester-marc