Preheat oven to 350 degrees F.
Add the sugar and water to a saucepan and cook it over high heat for about 15 minutes constantly swirling your saucepan, until it turns into a brown color.
Place the caramel sauce into your baking dish.
Whisk the all-purpose flour, salt, and baking powder together and set aside.
Place the softened unsalted butter in a stand mixer and mix until smooth and creamy.
Add the cocoa powder, eggs, sugar, vanilla extract, flour mixture, and milk.
Place chocolate batter inside the baking dish, on top of the caramel sauce.
Crack 3 eggs and 2 egg yolks into a bowl.
Add the evaporated milk, condensed milk, eggs, cream cheese, and vanilla extract inside the blender, blend it until smooth, then pour into the baking dish.
Place the baking dish in a bigger baking dish and add some hot water to create a water bath.
Bake for 1 hour and 10 minutes.
Let it sit at room temperature for about 30 minutes then place it in the fridge for a minimum of 4 hours.