Combine the milk, cream, and half of the sugar in a medium sauce pan over medium-high heat, stirring occasionally until the liquid comes to a simmer.
1 1/2 cups whole milk, 1/2 cup heavy cream, 1/2 cup sugar
As the liquid heats, whisk together the remaining sugar, salt, cornstarch, and egg yolks in a medium bowl until light and creamy.
Pinch of salt, 3 Tablespoons cornstarch, 5 egg yolks
Once the milk mixture is hot, slowly whisk about 1 cup of the liquid into the egg mixture to temper the yolks. Pour the tempered egg mixture back into the saucepan with the hot milk mixture and reduce the heat to medium, continuing to cook while whisking constantly, until thickened and a few bubbled burst on the surface, about 30 seconds, although it might take a bit longer if your liquid wasn't as warm initially. If it hasn't thickened, continue to cook and stir until it does because it will not thicken in the fridge.
Remove the pastry cream from the heat and whisk in the butter and vanilla. If you are concerned about possibly having scrambled the eggs at all, you can press your pastry cream through a fine mesh sieve just in case.
4 Tablespoons salted butter, 1 1/2 teaspoons vanilla bean paste
Transfer the pastry cream to a bowl and cover with a sheet of plastic wrap placed directly onto the surface of the pastry cream so a skin doesn't form. Refrigerate until chilled, about 3-4 hours.