Annosz / UIInfoSuite2

Ongoing maintenance for the original UI Info Suite mod for Stardew Valley.
1.33k stars 262 forks source link

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

Open forrester-marc opened 2 weeks ago

forrester-marc commented 2 weeks ago

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 commented 2 weeks ago

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

drewhoener commented 2 weeks ago

@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

forrester-marc commented 2 weeks ago

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