Preheat the oven to 375°F (190°C).
Lightly grease a 9 by 13 inch baking dish.
Heat the olive oil in a large skillet over medium heat.
Add the chopped onion and cook for 3 to 4 minutes until softened.
Add the minced garlic and cook for 30 seconds until fragrant.
Add the ground beef and cook while breaking it into small pieces until browned and fully cooked.
Drain any excess fat.
Add the taco seasoning, cumin, and black pepper. Stir until the beef is evenly seasoned.
Add the black beans, sweet corn, diced tomatoes with green chiles, salsa, sour cream, and cream cheese. Stir until the cream cheese melts and the mixture becomes creamy.
Add the cooked rice and stir until everything is evenly combined.
Fold in 1 cup shredded cheddar cheese and 0.5 cup Monterey Jack cheese.
Transfer the mixture to the prepared baking dish and spread it into an even layer.
Sprinkle the remaining cheddar cheese and Monterey Jack cheese evenly over the top.
Bake uncovered for 20 to 25 minutes until the casserole is hot and bubbly and the cheese is melted and lightly golden.
Remove the casserole from the oven and allow it to rest for 5 minutes.
Sprinkle with chopped fresh cilantro and serve warm.