Place sugar in a large skillet over medium heat. Let the sugar melt, shaking the pan and whisking frequently. It will turn golden as it melts. As soon as it is melted and smooth, remove from heat.
Add the softened butter, whisking, one tablespoon at a time until smooth. Slowly add the heavy cream, whisking constantly. The caramel may start to seize and get clumpy but that is okay. Keep whisking and the lumps should melt. If not, they will melt in the next step.
Return the pan to medium heat and cook the caramel, whisking frequently until it starts to thicken slightly, about 5 minutes. Remove from heat and whisk until the vanilla and sea salt. Set aside to cool completely before using.