Great question — answering as the UphillTech team:
In the past I have had a similar issue with making a butterscotch drink recipe. What I have found is that adding a bit of water to the melted butter (1-2 tsp/1/2 c, 5-10mL/120mL) helps dissolve the brown sugar and prevents graininess and seizing. Sugar is not readily soluble in fat, so it needs water in order to dissolve. I suspect one of three things happened: Different batches of butter may have different water contents. The brown sugar may have lost some of its moisture as it sat around in the pantry. Some of the water may have evaporated off while melting the butter. If you heat brown sugar in butter without enough water some will dissolve in the water present from the butter and the...
Full answer by Didgeridrew: https://cooking.stackexchange.com/a/41215 (CC BY-SA 3.0).
Need it done for your business? UphillTech.