Preheat the oven. Preheat your oven to 350°F (175°C). Lightly grease a 9×13-inch baking dish with butter or nonstick cooking spray.
Prepare the pumpkin filling. In a large mixing bowl, whisk together the pumpkin puree, evaporated milk, and eggs until smooth.
Add the seasonings. Stir in the granulated sugar, pumpkin pie spice, cinnamon, salt, and vanilla extract. Mix until completely combined.
Pour into the baking dish. Transfer the pumpkin mixture to the prepared baking dish, spreading it evenly.
Add the cake mix. Sprinkle the dry yellow cake mix evenly over the pumpkin filling. Do not stir.
Add the pecans. Sprinkle the chopped pecans evenly over the cake mix, if using.
Drizzle with butter. Slowly pour the melted butter over the entire surface, covering as much of the dry cake mix as possible.
Bake. Place in the preheated oven and bake for 50–60 minutes, or until the topping is golden brown and the pumpkin filling is mostly set with a slight jiggle in the center.
Cool before serving. Remove from the oven and allow the cake to rest for 20–30 minutes before serving.
Serve and enjoy. Spoon into dessert bowls or cut into squares. Serve warm with whipped cream or vanilla ice cream, if desired.