When looking at an iron bloom in a forge or mousing over it in the inventory, the game starts to stutter heavily.
I narrowed down the problem to the "GetWorkableTemperature" function in ItemStackExtensions.cs, I think the GetOrCacheMetalMaterial function is causing huge stutters when it operates on Iron Blooms. For now I'm able to hotfix it by adding an edge case for iron blooms, but a general solution would be much better.
When looking at an iron bloom in a forge or mousing over it in the inventory, the game starts to stutter heavily.
I narrowed down the problem to the "GetWorkableTemperature" function in ItemStackExtensions.cs, I think the GetOrCacheMetalMaterial function is causing huge stutters when it operates on Iron Blooms. For now I'm able to hotfix it by adding an edge case for iron blooms, but a general solution would be much better.