Hi,
I’ve encountered this bug a few times and I can sometimes recreate it. I’m not entirely sure but I think it has to do with when you spend a material and soon after pick it up. When this occurred I was crafting Crab Chowder, and noticed it didn’t use my stack of 4 but instead used my stack of 17 and hence I’m down to 13 because I was trying to manage my inventory space.
I believe a simple workaround this bug is to simply try to auto-stack all items of the same type when you press the ‘item sort button’
Happy patching!
((PS. Loving the game so far, great job team!))