Preheat the oven to 350°F. Grease a 9x13-inch baking dish.
Unroll one can of crescent roll dough and lay it flat in the bottom of the prepared baking dish, pressing the seams together to form a solid layer.
In a mixing bowl, beat the softened cream cheese, granulated sugar, vanilla extract, and eggs until smooth and creamy.
Spread the cream cheese mixture evenly over the crescent roll layer in the baking dish.
Unroll the second can of crescent roll dough and place it over the cream cheese mixture, again pressing the seams together.
Brush the top layer of crescent rolls with melted butter and sprinkle with cinnamon if desired.
Bake in the preheated oven for 25-30 minutes or until the top is golden brown.
Allow the casserole to cool for about 10 minutes before dusting with powdered sugar. Cut into squares and serve warm.