Open littlerat07 opened 1 week ago
like #560
20:27:47 | ERROR | UI Info Suite 2 | This mod failed in the Display.RenderingHud event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at UIInfoSuite2.UIElements.ShowToolUpgradeStatus.OnRenderingHud(Object sender, RenderingHudEventArgs e) in C:\Users\Drew\RiderProjects\DH-UIInfoSuite2\UIInfoSuite2\UIElements\ShowToolUpgradeStatus.cs:line 122 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101 --------------------------------------------------------------------------------------------------------------------------
My guess is the issue comes between an interaction of these mods: UI Info Suite 2 Button's Extra Books https://www.nexusmods.com/stardewvalley/mods/21526 More Books https://www.nexusmods.com/stardewvalley/mods/23891 Special Power Utilities https://www.nexusmods.com/stardewvalley/mods/22300
found a new way to trigger this error, when you trigger the upgrade for the Pan, the "Show tool upgrade status" is activated the error starts looping, the issue seems to be related to UI attempting to render a HUD that doesn't exist, for the Pan, unchecking the "Show tool upgrade status" stops the error
found a new way to trigger this error, when you trigger the upgrade for the Pan, the "Show tool upgrade status" is activated the error starts looping, the issue seems to be related to UI attempting to render a HUD that doesn't exist, for the Pan, unchecking the "Show tool upgrade status" stops the error
This seems to match my experience so far. I only noticed this issue for the first time just after I sent my Pan in for it's first upgrade, and upon retrieving the upgraded Pan from Clint the error spam in the SMAPI window stops. Getting it upgraded an additional level immediately begins the error spam again. Notably, during the time the Pan was being upgraded, there was no UI icon showing how long until it finishes, unlike all the other tools.
I am using a number of mods myself, but I do not use the ones mentioned earlier: Button's Extra Books More Books Special Power Utilities
Mod Version
v2.3.4
Multiplayer
Single Player
SMAPI Log
No response
Description
Issue
[22:23:53 ERROR 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 [22:23:53 ERROR UI Info Suite 2] This mod failed in the Display.RenderingHud event. Technical details: NullReferenceException: Object reference not set to an instance of an object.![SMAPI](https://github.com/Annosz/UIInfoSuite2/assets/80924417/0d9daeab-0117-468b-b1d5-7343d4251071)
Steps to Reproduce
Not sure.