loiste-interactive / Obenseuer-Issues

30 stars 1 forks source link

Error spam after crafting an item inside a sawbuck when the crafting ingredients popup is opened #3801

Closed ontrigger closed 1 month ago

ontrigger commented 1 month ago

I noticed that clicking on the firewood option opens an empty popup like this:

Image However, if you complete a craft with this popup open, the message below will be spammed in console:

[Error  :UnityExplorer] [Unity] NullReferenceException: Object reference not set to an instance of an object
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
CraftingBase.StorageHasRequiredItems (Recipe recipe, ItemStack[] items, Item& outputLiquidItem, System.Boolean onlyExecutable) (at <f75e1b341c8d4a659aa2f6aa2ef2440e>:0)
RecipeInfoUI.ShowRecipe (Recipe recipe, System.Int32 multiplier, System.Single equipmentQuality, System.Single qualityFactor, System.Boolean dontHideOnDestroy, System.Boolean disabledButton) (at <f75e1b341c8d4a659aa2f6aa2ef2440e>:0)
RecipeButton.ShowRecipe () (at <f75e1b341c8d4a659aa2f6aa2ef2440e>:0)
RecipeButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <f75e1b341c8d4a659aa2f6aa2ef2440e>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <daca610a65104c9fb0b25d90e8a6a3f9>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <daca610a65104c9fb0b25d90e8a6a3f9>:0)
UnityEngine.EventSystems.EventSystem:Update()

This is seeminly a problem unique to my save:

Esko_Perkele.zip

ontrigger commented 1 month ago

Update: the popup content disappears if you click on the planks option during crafting

Zuntti commented 1 month ago

Fixed